#AF9C29#AF9C29
#AF9C29 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 69.0% C 0.130 H 99.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9C29 |
|---|---|
| RGB | rgb(175, 156, 41) |
| HSL | hsl(51, 62%, 42%) |
| HSV | hsv(51, 77%, 69%) |
| CMYK | cmyk(0%, 10.9%, 76.6%, 31.4%) |
| CIE-LAB | lab(64.20, -5.39, 58.55) |
| CIE-LCH | lch(64.20, 58.80, 95.26°) |
| OKLab | oklab(68.96% -0.0212 0.1282) |
| OKLCH | oklch(68.96% 0.13 99.4) |
| XYZ | xyz(29.9694, 33.0525, 6.8986) |
| Luminance | 0.3305 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.12
Baby Poo
#AB9004
ΔE00 4.33
Baby Shit Brown
#AD900D
ΔE00 4.50
Dark Gold
#B59410
ΔE00 4.56
Ocher
#BF9B0C
ΔE00 5.15
Yellow Brown
#B79400
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9C29 #293CAF
analogous
#AF5929 #AF9C29 #7FAF29
triadic
#AF9C29 #29AF9C #9C29AF
tetradic
#AF9C29 #29AF59 #293CAF #AF297F
square
#AF9C29 #29AF59 #293CAF #AF297F
split-complementary
#AF9C29 #297FAF #5929AF
monochromatic
#4C4412 #7D701D #AF9C29 #D3BE42 #DECF74
Accessibility & contrast
On white
2.76
#AF9C29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#AF9C29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9C29
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9C29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9C29 | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9811
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#BD9086
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #af9c29; /* rgb */ color: rgb(175, 156, 41); /* oklch */ color: oklch(69.0% 0.130 99.4);
Tailwind
colors: {
custom: {
50: '#cbb86c',
500: '#af9c29',
950: '#000000',
},
}SCSS
$custom: #af9c29; $custom-light: #cbb86c; $custom-dark: #000000;
JSON
{
"hex": "#af9c29",
"rgb": {
"r": 175,
"g": 156,
"b": 41
},
"hsl": {
"h": 51.493,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.68959,
"c": 0.12994,
"h": 99.4
},
"luminance": 0.33051
}Semantic roles & 50–950 ramp
primary
#AF9C29
secondary
#6E7AC6
accent
#5AE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A