#AF9732#AF9732
#AF9732 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 68.0% C 0.121 H 95.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9732 |
|---|---|
| RGB | rgb(175, 151, 50) |
| HSL | hsl(48, 56%, 44%) |
| HSV | hsv(48, 71%, 69%) |
| CMYK | cmyk(0%, 13.7%, 71.4%, 31.4%) |
| CIE-LAB | lab(62.91, -2.28, 53.89) |
| CIE-LCH | lch(62.91, 53.94, 92.42°) |
| OKLab | oklab(67.95% -0.0114 0.1201) |
| OKLCH | oklch(67.95% 0.121 95.4) |
| XYZ | xyz(29.3230, 31.4790, 7.5485) |
| Luminance | 0.3148 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.32
Baby Shit Brown
#AD900D
ΔE00 3.38
Dark Gold
#B59410
ΔE00 3.54
Baby Poo
#AB9004
ΔE00 3.55
Yellow Brown
#B79400
ΔE00 4.31
Ocher
#BF9B0C
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9732 #324AAF
analogous
#AF5932 #AF9732 #89AF32
triadic
#AF9732 #32AF97 #9732AF
tetradic
#AF9732 #32AF59 #324AAF #AF3289
square
#AF9732 #32AF59 #324AAF #AF3289
split-complementary
#AF9732 #3289AF #5932AF
monochromatic
#504517 #7F6E24 #AF9732 #CDB551 #DBCA81
Accessibility & contrast
On white
2.88
#AF9732 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#AF9732 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9732
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9732 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9732 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79423
Deuteranopia (green-blind)
#AD9B38
Tritanopia (blue-blind)
#BD8B83
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #af9732; /* rgb */ color: rgb(175, 151, 50); /* oklch */ color: oklch(68.0% 0.121 95.4);
Tailwind
colors: {
custom: {
50: '#cab570',
500: '#af9732',
950: '#000000',
},
}SCSS
$custom: #af9732; $custom-light: #cab570; $custom-dark: #000000;
JSON
{
"hex": "#af9732",
"rgb": {
"r": 175,
"g": 151,
"b": 50
},
"hsl": {
"h": 48.48,
"s": 55.556,
"l": 44.118
},
"oklch": {
"l": 0.67953,
"c": 0.12059,
"h": 95.4
},
"luminance": 0.31477
}Semantic roles & 50–950 ramp
primary
#AF9732
secondary
#7987C4
accent
#66DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B