#AF9832#AF9832
#AF9832 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.2% C 0.121 H 96.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9832 |
|---|---|
| RGB | rgb(175, 152, 50) |
| HSL | hsl(49, 56%, 44%) |
| HSV | hsv(49, 71%, 69%) |
| CMYK | cmyk(0%, 13.1%, 71.4%, 31.4%) |
| CIE-LAB | lab(63.18, -2.82, 54.16) |
| CIE-LCH | lch(63.18, 54.23, 92.98°) |
| OKLab | oklab(68.17% -0.013 0.1206) |
| OKLCH | oklch(68.17% 0.121 96.1) |
| XYZ | xyz(29.4846, 31.8023, 7.6024) |
| Luminance | 0.3180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.29
Baby Shit Brown
#AD900D
ΔE00 3.60
Baby Poo
#AB9004
ΔE00 3.71
Dark Gold
#B59410
ΔE00 3.74
Yellow Brown
#B79400
ΔE00 4.49
Ocher
#BF9B0C
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9832 #3249AF
analogous
#AF5A32 #AF9832 #88AF32
triadic
#AF9832 #32AF98 #9832AF
tetradic
#AF9832 #32AF5A #3249AF #AF3288
square
#AF9832 #32AF5A #3249AF #AF3288
split-complementary
#AF9832 #3288AF #5A32AF
monochromatic
#504517 #7F6F24 #AF9832 #CDB651 #DBCA81
Accessibility & contrast
On white
2.85
#AF9832 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#AF9832 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9832
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9832 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9832 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89523
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#BD8C83
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af9832; /* rgb */ color: rgb(175, 152, 50); /* oklch */ color: oklch(68.2% 0.121 96.1);
Tailwind
colors: {
custom: {
50: '#cab670',
500: '#af9832',
950: '#000000',
},
}SCSS
$custom: #af9832; $custom-light: #cab670; $custom-dark: #000000;
JSON
{
"hex": "#af9832",
"rgb": {
"r": 175,
"g": 152,
"b": 50
},
"hsl": {
"h": 48.96,
"s": 55.556,
"l": 44.118
},
"oklch": {
"l": 0.68166,
"c": 0.12132,
"h": 96.1
},
"luminance": 0.31801
}Semantic roles & 50–950 ramp
primary
#AF9832
secondary
#7987C4
accent
#65DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B