#AFB76F#AFB76F
#AFB76F is a light, moderate yellow. Relative luminance 0.441; OKLCH L 75.6% C 0.095 H 113.9°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB76F |
|---|---|
| RGB | rgb(175, 183, 111) |
| HSL | hsl(67, 33%, 58%) |
| HSV | hsv(67, 39%, 72%) |
| CMYK | cmyk(4.4%, 0%, 39.3%, 28.2%) |
| CIE-LAB | lab(72.31, -14.01, 35.66) |
| CIE-LCH | lch(72.31, 38.31, 111.44°) |
| OKLab | oklab(75.64% -0.0385 0.0871) |
| OKLCH | oklch(75.64% 0.095 113.9) |
| XYZ | xyz(37.4822, 44.1291, 21.5791) |
| Luminance | 0.4413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Tan Green
#A9BE70
ΔE00 3.44
Light Olive
#ACBF69
ΔE00 3.55
Darkkhaki
#BDB76B
ΔE00 4.23
Greenish Tan
#BCCB7A
ΔE00 5.23
Light Olive Green
#A4BE5C
ΔE00 5.35
Khaki (survey)
#AAA662
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB76F #776FB7
analogous
#B79B6F #AFB76F #8BB76F
triadic
#AFB76F #6FAFB7 #B76FAF
tetradic
#AFB76F #6FB79B #776FB7 #B76F8B
square
#AFB76F #6FB79B #776FB7 #B76F8B
split-complementary
#AFB76F #6F8BB7 #9B6FB7
monochromatic
#6C7239 #939B4E #AFB76F #C6CB98 #DCE0C1
Accessibility & contrast
On white
2.14
#AFB76F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#AFB76F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB76F
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB76F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB76F | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1B16A
Deuteranopia (green-blind)
#C0B272
Tritanopia (blue-blind)
#B7AFA5
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb76f; /* rgb */ color: rgb(175, 183, 111); /* oklch */ color: oklch(75.6% 0.095 113.9);
Tailwind
colors: {
custom: {
50: '#c8cc99',
500: '#afb76f',
950: '#000000',
},
}SCSS
$custom: #afb76f; $custom-light: #c8cc99; $custom-dark: #000000;
JSON
{
"hex": "#afb76f",
"rgb": {
"r": 175,
"g": 183,
"b": 111
},
"hsl": {
"h": 66.667,
"s": 33.333,
"l": 57.647
},
"oklch": {
"l": 0.75642,
"c": 0.0952,
"h": 113.9
},
"luminance": 0.44129
}Semantic roles & 50–950 ramp
primary
#AFB76F
secondary
#B6B2CF
accent
#5EC96A
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E