#AF9421#AF9421
#AF9421 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 67.2% C 0.128 H 94.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9421 |
|---|---|
| RGB | rgb(175, 148, 33) |
| HSL | hsl(49, 68%, 41%) |
| HSV | hsv(49, 81%, 69%) |
| CMYK | cmyk(0%, 15.4%, 81.1%, 31.4%) |
| CIE-LAB | lab(62.00, -1.38, 59.22) |
| CIE-LCH | lch(62.00, 59.23, 91.33°) |
| OKLab | oklab(67.2% -0.0106 0.128) |
| OKLCH | oklch(67.2% 0.128 94.8) |
| XYZ | xyz(28.5452, 30.4052, 5.8038) |
| Luminance | 0.3040 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 1.62
Baby Poo
#AB9004
ΔE00 1.87
Dark Gold
#B59410
ΔE00 2.02
Brown Yellow
#B29705
ΔE00 2.05
Yellow Brown
#B79400
ΔE00 2.80
Yellowy Brown
#AE8B0C
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9421 #213CAF
analogous
#AF4D21 #AF9421 #83AF21
triadic
#AF9421 #21AF94 #9421AF
tetradic
#AF9421 #21AF4D #213CAF #AF2183
square
#AF9421 #21AF4D #213CAF #AF2183
split-complementary
#AF9421 #2183AF #4D21AF
monochromatic
#483D0E #7C6817 #AF9421 #D9BA34 #E3CB68
Accessibility & contrast
On white
2.97
#AF9421 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#AF9421 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9421
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9421 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9421 | 1.00 | 2.97 | 7.08 | 7.08 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#BE887F
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #af9421; /* rgb */ color: rgb(175, 148, 33); /* oklch */ color: oklch(67.2% 0.128 94.8);
Tailwind
colors: {
custom: {
50: '#cbb367',
500: '#af9421',
950: '#000000',
},
}SCSS
$custom: #af9421; $custom-light: #cbb367; $custom-dark: #000000;
JSON
{
"hex": "#af9421",
"rgb": {
"r": 175,
"g": 148,
"b": 33
},
"hsl": {
"h": 48.592,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.67203,
"c": 0.12842,
"h": 94.8
},
"luminance": 0.30404
}Semantic roles & 50–950 ramp
primary
#AF9421
secondary
#6477C8
accent
#5EEB3D
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#141007
muted
#837F7A