#AF9D33#AF9D33
#AF9D33 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.2% C 0.124 H 99.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9D33 |
|---|---|
| RGB | rgb(175, 157, 51) |
| HSL | hsl(51, 55%, 44%) |
| HSV | hsv(51, 71%, 69%) |
| CMYK | cmyk(0%, 10.3%, 70.9%, 31.4%) |
| CIE-LAB | lab(64.54, -5.45, 55.11) |
| CIE-LCH | lch(64.54, 55.38, 95.65°) |
| OKLab | oklab(69.25% -0.0204 0.1228) |
| OKLCH | oklch(69.25% 0.125 99.4) |
| XYZ | xyz(30.3351, 33.4683, 7.9935) |
| Luminance | 0.3347 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.00
Baby Poo
#AB9004
ΔE00 5.03
Baby Shit Brown
#AD900D
ΔE00 5.13
Dark Gold
#B59410
ΔE00 5.18
Ocher
#BF9B0C
ΔE00 5.74
Yellow Brown
#B79400
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9D33 #3345AF
analogous
#AF5F33 #AF9D33 #83AF33
triadic
#AF9D33 #33AF9D #9D33AF
tetradic
#AF9D33 #33AF5F #3345AF #AF3383
square
#AF9D33 #33AF5F #3345AF #AF3383
split-complementary
#AF9D33 #3383AF #5F33AF
monochromatic
#504817 #807225 #AF9D33 #CDBB52 #DBCE82
Accessibility & contrast
On white
2.73
#AF9D33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#AF9D33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9D33
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9D33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9D33 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9923
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#BD9188
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #af9d33; /* rgb */ color: rgb(175, 157, 51); /* oklch */ color: oklch(69.2% 0.124 99.4);
Tailwind
colors: {
custom: {
50: '#cab971',
500: '#af9d33',
950: '#000000',
},
}SCSS
$custom: #af9d33; $custom-light: #cab971; $custom-dark: #000000;
JSON
{
"hex": "#af9d33",
"rgb": {
"r": 175,
"g": 157,
"b": 51
},
"hsl": {
"h": 51.29,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.69245,
"c": 0.1245,
"h": 99.4
},
"luminance": 0.33467
}Semantic roles & 50–950 ramp
primary
#AF9D33
secondary
#7A85C4
accent
#5FDE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B