#AF9829#AF9829
#AF9829 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.1% C 0.127 H 96.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9829 |
|---|---|
| RGB | rgb(175, 152, 41) |
| HSL | hsl(50, 62%, 42%) |
| HSV | hsv(50, 77%, 69%) |
| CMYK | cmyk(0%, 13.1%, 76.6%, 31.4%) |
| CIE-LAB | lab(63.12, -3.24, 57.54) |
| CIE-LCH | lch(63.12, 57.63, 93.22°) |
| OKLab | oklab(68.1% -0.0151 0.126) |
| OKLCH | oklch(68.1% 0.127 96.9) |
| XYZ | xyz(29.3092, 31.7321, 6.6785) |
| Luminance | 0.3173 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.41
Baby Poo
#AB9004
ΔE00 3.11
Baby Shit Brown
#AD900D
ΔE00 3.11
Dark Gold
#B59410
ΔE00 3.27
Yellow Brown
#B79400
ΔE00 3.98
Ocher
#BF9B0C
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9829 #2940AF
analogous
#AF5529 #AF9829 #83AF29
triadic
#AF9829 #29AF98 #9829AF
tetradic
#AF9829 #29AF55 #2940AF #AF2983
square
#AF9829 #29AF55 #2940AF #AF2983
split-complementary
#AF9829 #2983AF #5529AF
monochromatic
#4C4212 #7D6D1D #AF9829 #D3BA42 #DECC74
Accessibility & contrast
On white
2.86
#AF9829 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#AF9829 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9829
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9829 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9829 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89413
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#BD8C83
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af9829; /* rgb */ color: rgb(175, 152, 41); /* oklch */ color: oklch(68.1% 0.127 96.9);
Tailwind
colors: {
custom: {
50: '#cbb56c',
500: '#af9829',
950: '#000000',
},
}SCSS
$custom: #af9829; $custom-light: #cbb56c; $custom-dark: #000000;
JSON
{
"hex": "#af9829",
"rgb": {
"r": 175,
"g": 152,
"b": 41
},
"hsl": {
"h": 49.701,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.68101,
"c": 0.12695,
"h": 96.9
},
"luminance": 0.31731
}Semantic roles & 50–950 ramp
primary
#AF9829
secondary
#6E7DC6
accent
#5FE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A