#AFA14B#AFA14B
#AFA14B is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.108 H 100.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA14B |
|---|---|
| RGB | rgb(175, 161, 75) |
| HSL | hsl(52, 40%, 49%) |
| HSV | hsv(52, 57%, 69%) |
| CMYK | cmyk(0%, 8%, 57.1%, 31.4%) |
| CIE-LAB | lab(65.84, -6.02, 45.84) |
| CIE-LCH | lch(65.84, 46.24, 97.48°) |
| OKLab | oklab(70.34% -0.0192 0.1067) |
| OKLCH | oklch(70.34% 0.108 100.2) |
| XYZ | xyz(31.6952, 35.1129, 11.7632) |
| Luminance | 0.3511 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.63
Sandy Brown
#C4A661
ΔE00 6.68
Darkkhaki
#BDB76B
ΔE00 6.74
Vomit
#A2A415
ΔE00 6.94
Brown Yellow
#B29705
ΔE00 7.01
Desert
#CCAD60
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA14B #4B59AF
analogous
#AF6F4B #AFA14B #8BAF4B
triadic
#AFA14B #4BAFA1 #A14BAF
tetradic
#AFA14B #4BAF6F #4B59AF #AF4B8B
square
#AFA14B #4BAF6F #4B59AF #AF4B8B
split-complementary
#AFA14B #4B8BAF #6F4BAF
monochromatic
#595226 #847A39 #AFA14B #C3B874 #D6CE9F
Accessibility & contrast
On white
2.62
#AFA14B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#AFA14B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA14B
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA14B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA14B | 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)
#AF9D42
Deuteranopia (green-blind)
#B3A24F
Tritanopia (blue-blind)
#BB978E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa14b; /* rgb */ color: rgb(175, 161, 75); /* oklch */ color: oklch(70.3% 0.108 100.2);
Tailwind
colors: {
custom: {
50: '#c9bc80',
500: '#afa14b',
950: '#000000',
},
}SCSS
$custom: #afa14b; $custom-light: #c9bc80; $custom-dark: #000000;
JSON
{
"hex": "#afa14b",
"rgb": {
"r": 175,
"g": 161,
"b": 75
},
"hsl": {
"h": 51.6,
"s": 40,
"l": 49.02
},
"oklch": {
"l": 0.70343,
"c": 0.10843,
"h": 100.2
},
"luminance": 0.35112
}Semantic roles & 50–950 ramp
primary
#AFA14B
secondary
#939AC2
accent
#69D058
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13120A
muted
#82817C