#AF9229#AF9229
#AF9229 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.8% C 0.123 H 92.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9229 |
|---|---|
| RGB | rgb(175, 146, 41) |
| HSL | hsl(47, 62%, 42%) |
| HSV | hsv(47, 77%, 69%) |
| CMYK | cmyk(0%, 16.6%, 76.6%, 31.4%) |
| CIE-LAB | lab(61.51, 0.02, 56.03) |
| CIE-LCH | lch(61.51, 56.03, 89.98°) |
| OKLab | oklab(66.83% -0.0059 0.1228) |
| OKLCH | oklch(66.83% 0.123 92.7) |
| XYZ | xyz(28.3599, 29.8335, 6.3621) |
| Luminance | 0.2983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 2.06
Dark Gold
#B59410
ΔE00 2.44
Baby Poo
#AB9004
ΔE00 2.57
Yellowy Brown
#AE8B0C
ΔE00 2.95
Yellow Brown
#B79400
ΔE00 3.19
Brown Yellow
#B29705
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9229 #2946AF
analogous
#AF4F29 #AF9229 #89AF29
triadic
#AF9229 #29AF92 #9229AF
tetradic
#AF9229 #29AF4F #2946AF #AF2989
square
#AF9229 #29AF4F #2946AF #AF2989
split-complementary
#AF9229 #2989AF #4F29AF
monochromatic
#4C3F12 #7D691D #AF9229 #D3B442 #DEC774
Accessibility & contrast
On white
3.01
#AF9229 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#AF9229 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF9229
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9229 | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A29016
Deuteranopia (green-blind)
#AA982F
Tritanopia (blue-blind)
#BE867E
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #af9229; /* rgb */ color: rgb(175, 146, 41); /* oklch */ color: oklch(66.8% 0.123 92.7);
Tailwind
colors: {
custom: {
50: '#cbb16b',
500: '#af9229',
950: '#000000',
},
}SCSS
$custom: #af9229; $custom-light: #cbb16b; $custom-dark: #000000;
JSON
{
"hex": "#af9229",
"rgb": {
"r": 175,
"g": 146,
"b": 41
},
"hsl": {
"h": 47.015,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.66828,
"c": 0.12296,
"h": 92.7
},
"luminance": 0.29832
}Semantic roles & 50–950 ramp
primary
#AF9229
secondary
#6E81C6
accent
#66E543
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A