#AFB476#AFB476
#AFB476 is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.1% C 0.083 H 112.1°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB476 |
|---|---|
| RGB | rgb(175, 180, 118) |
| HSL | hsl(65, 29%, 58%) |
| HSV | hsv(65, 34%, 71%) |
| CMYK | cmyk(2.8%, 0%, 34.4%, 29.4%) |
| CIE-LAB | lab(71.60, -11.61, 31.09) |
| CIE-LCH | lch(71.60, 33.19, 110.48°) |
| OKLab | oklab(75.11% -0.0312 0.0768) |
| OKLCH | oklch(75.11% 0.083 112.1) |
| XYZ | xyz(37.2707, 43.0650, 23.4850) |
| Luminance | 0.4306 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.59
Khaki (survey)
#AAA662
ΔE00 4.81
Tan Green
#A9BE70
ΔE00 4.91
Light Olive
#ACBF69
ΔE00 5.45
Greenish Tan
#BCCB7A
ΔE00 6.62
Pale Olive
#B9CC81
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB476 #7B76B4
analogous
#B49A76 #AFB476 #90B476
triadic
#AFB476 #76AFB4 #B476AF
tetradic
#AFB476 #76B49A #7B76B4 #B47690
square
#AFB476 #76B49A #7B76B4 #B47690
split-complementary
#AFB476 #7690B4 #9A76B4
monochromatic
#6D713E #939954 #AFB476 #C6CA9E #DDDFC5
Accessibility & contrast
On white
2.18
#AFB476 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#AFB476 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB476
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB476 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB476 | 1.00 | 2.18 | 9.61 | 9.61 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAE72
Deuteranopia (green-blind)
#BDB079
Tritanopia (blue-blind)
#B7ADA4
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb476; /* rgb */ color: rgb(175, 180, 118); /* oklch */ color: oklch(75.1% 0.083 112.1);
Tailwind
colors: {
custom: {
50: '#c7ca9e',
500: '#afb476',
950: '#000000',
},
}SCSS
$custom: #afb476; $custom-light: #c7ca9e; $custom-dark: #000000;
JSON
{
"hex": "#afb476",
"rgb": {
"r": 175,
"g": 180,
"b": 118
},
"hsl": {
"h": 64.839,
"s": 29.245,
"l": 58.431
},
"oklch": {
"l": 0.75107,
"c": 0.08293,
"h": 112.1
},
"luminance": 0.43064
}Semantic roles & 50–950 ramp
primary
#AFB476
secondary
#B9B7CF
accent
#62C66A
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E