#AF9929#AF9929
#AF9929 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.3% C 0.128 H 97.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9929 |
|---|---|
| RGB | rgb(175, 153, 41) |
| HSL | hsl(50, 62%, 42%) |
| HSV | hsv(50, 77%, 69%) |
| CMYK | cmyk(0%, 12.6%, 76.6%, 31.4%) |
| CIE-LAB | lab(63.39, -3.78, 57.79) |
| CIE-LCH | lch(63.39, 57.92, 93.74°) |
| OKLab | oklab(68.32% -0.0167 0.1266) |
| OKLCH | oklch(68.32% 0.128 97.5) |
| XYZ | xyz(29.4722, 32.0581, 6.7328) |
| Luminance | 0.3206 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.51
Baby Poo
#AB9004
ΔE00 3.38
Baby Shit Brown
#AD900D
ΔE00 3.44
Dark Gold
#B59410
ΔE00 3.57
Yellow Brown
#B79400
ΔE00 4.25
Ocher
#BF9B0C
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9929 #293FAF
analogous
#AF5629 #AF9929 #82AF29
triadic
#AF9929 #29AF99 #9929AF
tetradic
#AF9929 #29AF56 #293FAF #AF2982
square
#AF9929 #29AF56 #293FAF #AF2982
split-complementary
#AF9929 #2982AF #5629AF
monochromatic
#4C4212 #7D6E1D #AF9929 #D3BB42 #DECD74
Accessibility & contrast
On white
2.83
#AF9929 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#AF9929 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9929
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9929 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9929 | 1.00 | 2.83 | 7.41 | 7.41 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99513
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af9929; /* rgb */ color: rgb(175, 153, 41); /* oklch */ color: oklch(68.3% 0.128 97.5);
Tailwind
colors: {
custom: {
50: '#cbb66c',
500: '#af9929',
950: '#000000',
},
}SCSS
$custom: #af9929; $custom-light: #cbb66c; $custom-dark: #000000;
JSON
{
"hex": "#af9929",
"rgb": {
"r": 175,
"g": 153,
"b": 41
},
"hsl": {
"h": 50.149,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.68315,
"c": 0.12766,
"h": 97.5
},
"luminance": 0.32057
}Semantic roles & 50–950 ramp
primary
#AF9929
secondary
#6E7CC6
accent
#5DE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A