#AFA34A#AFA34A
#AFA34A is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.111 H 101.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA34A |
|---|---|
| RGB | rgb(175, 163, 74) |
| HSL | hsl(53, 41%, 49%) |
| HSV | hsv(53, 58%, 69%) |
| CMYK | cmyk(0%, 6.9%, 57.7%, 31.4%) |
| CIE-LAB | lab(66.37, -7.16, 46.93) |
| CIE-LCH | lch(66.37, 47.47, 98.67°) |
| OKLab | oklab(70.76% -0.0226 0.1089) |
| OKLCH | oklch(70.76% 0.111 101.7) |
| XYZ | xyz(32.0135, 35.8040, 11.7018) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.51
Darkkhaki
#BDB76B
ΔE00 6.29
Vomit
#A2A415
ΔE00 6.29
Puke
#A5A502
ΔE00 6.65
Sandy Brown
#C4A661
ΔE00 7.24
Brown Yellow
#B29705
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA34A #4A56AF
analogous
#AF714A #AFA34A #89AF4A
triadic
#AFA34A #4AAFA3 #A34AAF
tetradic
#AFA34A #4AAF71 #4A56AF #AF4A89
square
#AFA34A #4AAF71 #4A56AF #AF4A89
split-complementary
#AFA34A #4A89AF #714AAF
monochromatic
#595326 #847B38 #AFA34A #C4BA73 #D6CF9E
Accessibility & contrast
On white
2.57
#AFA34A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#AFA34A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA34A
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA34A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA34A | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09E41
Deuteranopia (green-blind)
#B4A44E
Tritanopia (blue-blind)
#BB998F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #afa34a; /* rgb */ color: rgb(175, 163, 74); /* oklch */ color: oklch(70.8% 0.111 101.7);
Tailwind
colors: {
custom: {
50: '#c9be80',
500: '#afa34a',
950: '#000000',
},
}SCSS
$custom: #afa34a; $custom-light: #c9be80; $custom-dark: #000000;
JSON
{
"hex": "#afa34a",
"rgb": {
"r": 175,
"g": 163,
"b": 74
},
"hsl": {
"h": 52.871,
"s": 40.562,
"l": 48.824
},
"oklch": {
"l": 0.70763,
"c": 0.11125,
"h": 101.7
},
"luminance": 0.35803
}Semantic roles & 50–950 ramp
primary
#AFA34A
secondary
#9298C2
accent
#66D057
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13120A
muted
#82817C