#AFB06F#AFB06F
#AFB06F is a light, moderate yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.086 H 109.1°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB06F |
|---|---|
| RGB | rgb(175, 176, 111) |
| HSL | hsl(61, 29%, 56%) |
| HSV | hsv(61, 37%, 69%) |
| CMYK | cmyk(0.6%, 0%, 36.9%, 31%) |
| CIE-LAB | lab(70.39, -10.38, 33.20) |
| CIE-LCH | lch(70.39, 34.79, 107.36°) |
| OKLab | oklab(74.11% -0.0282 0.0814) |
| OKLCH | oklch(74.11% 0.086 109.1) |
| XYZ | xyz(36.0742, 41.3130, 21.1097) |
| Luminance | 0.4131 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.18
Darkkhaki
#BDB76B
ΔE00 3.73
Tan Green
#A9BE70
ΔE00 5.99
Light Olive
#ACBF69
ΔE00 6.17
Sand
#C2B280
ΔE00 6.75
Greenish Tan
#BCCB7A
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB06F #706FB0
analogous
#B0916F #AFB06F #8FB06F
triadic
#AFB06F #6FAFB0 #B06FAF
tetradic
#AFB06F #6FB091 #706FB0 #B06F8F
square
#AFB06F #6FB091 #706FB0 #B06F8F
split-complementary
#AFB06F #6F8FB0 #916FB0
monochromatic
#6A6A3A #919250 #AFB06F #C5C697 #DBDBBE
Accessibility & contrast
On white
2.27
#AFB06F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#AFB06F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB06F
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB06F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB06F | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAAB6A
Deuteranopia (green-blind)
#BBAD72
Tritanopia (blue-blind)
#B8A8A0
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afb06f; /* rgb */ color: rgb(175, 176, 111); /* oklch */ color: oklch(74.1% 0.086 109.1);
Tailwind
colors: {
custom: {
50: '#c8c799',
500: '#afb06f',
950: '#000000',
},
}SCSS
$custom: #afb06f; $custom-light: #c8c799; $custom-dark: #000000;
JSON
{
"hex": "#afb06f",
"rgb": {
"r": 175,
"g": 176,
"b": 111
},
"hsl": {
"h": 60.923,
"s": 29.148,
"l": 56.275
},
"oklch": {
"l": 0.74114,
"c": 0.08616,
"h": 109.1
},
"luminance": 0.41312
}Semantic roles & 50–950 ramp
primary
#AFB06F
secondary
#B0B0CB
accent
#62C564
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E