#AFB657#AFB657
#AFB657 is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.120 H 112.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB657 |
|---|---|
| RGB | rgb(175, 182, 87) |
| HSL | hsl(64, 39%, 53%) |
| HSV | hsv(64, 52%, 71%) |
| CMYK | cmyk(3.8%, 0%, 52.2%, 28.6%) |
| CIE-LAB | lab(71.73, -15.96, 46.92) |
| CIE-LCH | lch(71.73, 49.56, 108.78°) |
| OKLab | oklab(75.08% -0.0462 0.1103) |
| OKLCH | oklch(75.08% 0.12 112.7) |
| XYZ | xyz(36.1281, 43.2586, 15.4615) |
| Luminance | 0.4326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive
#ACBF69
ΔE00 4.19
Darkkhaki
#BDB76B
ΔE00 4.56
Light Olive Green
#A4BE5C
ΔE00 4.65
Booger
#9BB53C
ΔE00 5.00
Tan Green
#A9BE70
ΔE00 5.39
Sick Green
#9DB92C
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB657 #5E57B6
analogous
#B68D57 #AFB657 #7FB657
triadic
#AFB657 #57AFB6 #B657AF
tetradic
#AFB657 #57B68D #5E57B6 #B6577F
square
#AFB657 #57B68D #5E57B6 #B6577F
split-complementary
#AFB657 #577FB6 #8D57B6
monochromatic
#62662C #8B913F #AFB657 #C3C982 #D8DBAC
Accessibility & contrast
On white
2.18
#AFB657 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#AFB657 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB657
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB657 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB657 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AF4E
Deuteranopia (green-blind)
#C2B15C
Tritanopia (blue-blind)
#B9ADA1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb657; /* rgb */ color: rgb(175, 182, 87); /* oklch */ color: oklch(75.1% 0.120 112.7);
Tailwind
colors: {
custom: {
50: '#c9cb89',
500: '#afb657',
950: '#000000',
},
}SCSS
$custom: #afb657; $custom-light: #c9cb89; $custom-dark: #000000;
JSON
{
"hex": "#afb657",
"rgb": {
"r": 175,
"g": 182,
"b": 87
},
"hsl": {
"h": 64.421,
"s": 39.419,
"l": 52.745
},
"oklch": {
"l": 0.75075,
"c": 0.11961,
"h": 112.7
},
"luminance": 0.43258
}Semantic roles & 50–950 ramp
primary
#AFB657
secondary
#A3A0C9
accent
#58CF61
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D