#AFB656#AFB656
#AFB656 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.121 H 112.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB656 |
|---|---|
| RGB | rgb(175, 182, 86) |
| HSL | hsl(64, 40%, 53%) |
| HSV | hsv(64, 53%, 71%) |
| CMYK | cmyk(3.8%, 0%, 52.7%, 28.6%) |
| CIE-LAB | lab(71.72, -16.04, 47.38) |
| CIE-LCH | lch(71.72, 50.02, 108.71°) |
| OKLab | oklab(75.06% -0.0466 0.1112) |
| OKLCH | oklch(75.06% 0.121 112.7) |
| XYZ | xyz(36.0876, 43.2424, 15.2479) |
| Luminance | 0.4324 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive
#ACBF69
ΔE00 4.28
Darkkhaki
#BDB76B
ΔE00 4.64
Light Olive Green
#A4BE5C
ΔE00 4.69
Booger
#9BB53C
ΔE00 4.93
Tan Green
#A9BE70
ΔE00 5.50
Sick Green
#9DB92C
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB656 #5D56B6
analogous
#B68D56 #AFB656 #7FB656
triadic
#AFB656 #56AFB6 #B656AF
tetradic
#AFB656 #56B68D #5D56B6 #B6567F
square
#AFB656 #56B68D #5D56B6 #B6567F
split-complementary
#AFB656 #567FB6 #8D56B6
monochromatic
#61662C #8A903E #AFB656 #C3C881 #D7DBAB
Accessibility & contrast
On white
2.18
#AFB656 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#AFB656 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB656
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB656 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB656 | 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)
#C2AF4D
Deuteranopia (green-blind)
#C2B15B
Tritanopia (blue-blind)
#B9ADA0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb656; /* rgb */ color: rgb(175, 182, 86); /* oklch */ color: oklch(75.1% 0.121 112.7);
Tailwind
colors: {
custom: {
50: '#c9cb88',
500: '#afb656',
950: '#000000',
},
}SCSS
$custom: #afb656; $custom-light: #c9cb88; $custom-dark: #000000;
JSON
{
"hex": "#afb656",
"rgb": {
"r": 175,
"g": 182,
"b": 86
},
"hsl": {
"h": 64.375,
"s": 39.669,
"l": 52.549
},
"oklch": {
"l": 0.75063,
"c": 0.12058,
"h": 112.7
},
"luminance": 0.43242
}Semantic roles & 50–950 ramp
primary
#AFB656
secondary
#A29FC9
accent
#58D061
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D