Color #afc257
A moderately saturated medium green.
Conversions
#afc257
rgb(175, 194, 87)
hsl(70.7, 46.7%, 55.1%)
hsv(70.7, 55.2%, 76.1%)
cmyk(9.8%, 0%, 55.2%, 23.9%)
lab(75.07, -21.97, 50.78)
lch(75.07, 55.33, 113.4)
oklch(77.8%, 0.1345, 118.03)
hwb(70.7, 34.1%, 23.9%)
Harmony colors
Accessibility
Black text reads better on this background (10.68:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#b8b87c · ΔE 8.5
Deuteranopia
#b6b583 · ΔE 10.6
Tritanopia
#b09296 · ΔE 37.1
Achromatopsia
#b9b9b9 · ΔE 24.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afc257;
bg-[#afc257]
Related colors
Frequently asked questions
#afc257 (#afc257) is rgb(175, 194, 87) in RGB.
No, #afc257 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #afc257, or check how it holds up for accessibility.