#AFA14A#AFA14A
#AFA14A is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.109 H 100.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA14A |
|---|---|
| RGB | rgb(175, 161, 74) |
| HSL | hsl(52, 41%, 49%) |
| HSV | hsv(52, 58%, 69%) |
| CMYK | cmyk(0%, 8%, 57.7%, 31.4%) |
| CIE-LAB | lab(65.83, -6.09, 46.31) |
| CIE-LCH | lch(65.83, 46.71, 97.50°) |
| OKLab | oklab(70.33% -0.0195 0.1076) |
| OKLCH | oklch(70.33% 0.109 100.3) |
| XYZ | xyz(31.6612, 35.0994, 11.5843) |
| Luminance | 0.3510 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.74
Sandy Brown
#C4A661
ΔE00 6.76
Darkkhaki
#BDB76B
ΔE00 6.80
Vomit
#A2A415
ΔE00 6.82
Brown Yellow
#B29705
ΔE00 6.90
Puke
#A5A502
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA14A #4A58AF
analogous
#AF6F4A #AFA14A #8BAF4A
triadic
#AFA14A #4AAFA1 #A14AAF
tetradic
#AFA14A #4AAF6F #4A58AF #AF4A8B
square
#AFA14A #4AAF6F #4A58AF #AF4A8B
split-complementary
#AFA14A #4A8BAF #6F4AAF
monochromatic
#595226 #847938 #AFA14A #C4B873 #D6CE9E
Accessibility & contrast
On white
2.62
#AFA14A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#AFA14A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA14A
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA14A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA14A | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9D41
Deuteranopia (green-blind)
#B3A24E
Tritanopia (blue-blind)
#BB978E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa14a; /* rgb */ color: rgb(175, 161, 74); /* oklch */ color: oklch(70.3% 0.109 100.3);
Tailwind
colors: {
custom: {
50: '#c9bc7f',
500: '#afa14a',
950: '#000000',
},
}SCSS
$custom: #afa14a; $custom-light: #c9bc7f; $custom-dark: #000000;
JSON
{
"hex": "#afa14a",
"rgb": {
"r": 175,
"g": 161,
"b": 74
},
"hsl": {
"h": 51.683,
"s": 40.562,
"l": 48.824
},
"oklch": {
"l": 0.70331,
"c": 0.10936,
"h": 100.3
},
"luminance": 0.35098
}Semantic roles & 50–950 ramp
primary
#AFA14A
secondary
#9299C2
accent
#68D057
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13120A
muted
#82817C