#AF9B29#AF9B29
#AF9B29 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.7% C 0.129 H 98.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9B29 |
|---|---|
| RGB | rgb(175, 155, 41) |
| HSL | hsl(51, 62%, 42%) |
| HSV | hsv(51, 77%, 69%) |
| CMYK | cmyk(0%, 11.4%, 76.6%, 31.4%) |
| CIE-LAB | lab(63.93, -4.85, 58.30) |
| CIE-LCH | lch(63.93, 58.50, 94.76°) |
| OKLab | oklab(68.74% -0.0197 0.1277) |
| OKLCH | oklch(68.74% 0.129 98.8) |
| XYZ | xyz(29.8023, 32.7182, 6.8429) |
| Luminance | 0.3272 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.88
Baby Poo
#AB9004
ΔE00 4.00
Baby Shit Brown
#AD900D
ΔE00 4.14
Dark Gold
#B59410
ΔE00 4.22
Yellow Brown
#B79400
ΔE00 4.84
Ocher
#BF9B0C
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9B29 #293DAF
analogous
#AF5829 #AF9B29 #80AF29
triadic
#AF9B29 #29AF9B #9B29AF
tetradic
#AF9B29 #29AF58 #293DAF #AF2980
square
#AF9B29 #29AF58 #293DAF #AF2980
split-complementary
#AF9B29 #2980AF #5829AF
monochromatic
#4C4312 #7D6F1D #AF9B29 #D3BD42 #DECF74
Accessibility & contrast
On white
2.78
#AF9B29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#AF9B29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9B29
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9B29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9B29 | 1.00 | 2.78 | 7.54 | 7.54 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9712
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#BD8F85
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #af9b29; /* rgb */ color: rgb(175, 155, 41); /* oklch */ color: oklch(68.7% 0.129 98.8);
Tailwind
colors: {
custom: {
50: '#cbb86c',
500: '#af9b29',
950: '#000000',
},
}SCSS
$custom: #af9b29; $custom-light: #cbb86c; $custom-dark: #000000;
JSON
{
"hex": "#af9b29",
"rgb": {
"r": 175,
"g": 155,
"b": 41
},
"hsl": {
"h": 51.045,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.68744,
"c": 0.12916,
"h": 98.8
},
"luminance": 0.32717
}Semantic roles & 50–950 ramp
primary
#AF9B29
secondary
#6E7BC6
accent
#5BE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A