#AF9932#AF9932
#AF9932 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.4% C 0.122 H 96.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9932 |
|---|---|
| RGB | rgb(175, 153, 50) |
| HSL | hsl(49, 56%, 44%) |
| HSV | hsv(49, 71%, 69%) |
| CMYK | cmyk(0%, 12.6%, 71.4%, 31.4%) |
| CIE-LAB | lab(63.45, -3.36, 54.43) |
| CIE-LCH | lch(63.45, 54.53, 93.53°) |
| OKLab | oklab(68.38% -0.0145 0.1212) |
| OKLCH | oklch(68.38% 0.122 96.8) |
| XYZ | xyz(29.6476, 32.1282, 7.6567) |
| Luminance | 0.3213 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.32
Baby Shit Brown
#AD900D
ΔE00 3.85
Baby Poo
#AB9004
ΔE00 3.91
Dark Gold
#B59410
ΔE00 3.97
Yellow Brown
#B79400
ΔE00 4.70
Ocher
#BF9B0C
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9932 #3248AF
analogous
#AF5B32 #AF9932 #87AF32
triadic
#AF9932 #32AF99 #9932AF
tetradic
#AF9932 #32AF5B #3248AF #AF3287
square
#AF9932 #32AF5B #3248AF #AF3287
split-complementary
#AF9932 #3287AF #5B32AF
monochromatic
#504617 #7F6F24 #AF9932 #CDB751 #DBCB81
Accessibility & contrast
On white
2.83
#AF9932 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#AF9932 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9932
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9932 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9932 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89523
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af9932; /* rgb */ color: rgb(175, 153, 50); /* oklch */ color: oklch(68.4% 0.122 96.8);
Tailwind
colors: {
custom: {
50: '#cab670',
500: '#af9932',
950: '#000000',
},
}SCSS
$custom: #af9932; $custom-light: #cab670; $custom-dark: #000000;
JSON
{
"hex": "#af9932",
"rgb": {
"r": 175,
"g": 153,
"b": 50
},
"hsl": {
"h": 49.44,
"s": 55.556,
"l": 44.118
},
"oklch": {
"l": 0.6838,
"c": 0.12206,
"h": 96.8
},
"luminance": 0.32127
}Semantic roles & 50–950 ramp
primary
#AF9932
secondary
#7986C4
accent
#63DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B