#AF9B33#AF9B33
#AF9B33 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.8% C 0.123 H 98.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9B33 |
|---|---|
| RGB | rgb(175, 155, 51) |
| HSL | hsl(50, 55%, 44%) |
| HSV | hsv(50, 71%, 69%) |
| CMYK | cmyk(0%, 11.4%, 70.9%, 31.4%) |
| CIE-LAB | lab(64.00, -4.38, 54.57) |
| CIE-LCH | lch(64.00, 54.75, 94.59°) |
| OKLab | oklab(68.82% -0.0173 0.1217) |
| OKLCH | oklch(68.82% 0.123 98.1) |
| XYZ | xyz(29.9995, 32.7971, 7.8816) |
| Luminance | 0.3280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.63
Baby Poo
#AB9004
ΔE00 4.46
Baby Shit Brown
#AD900D
ΔE00 4.49
Dark Gold
#B59410
ΔE00 4.57
Yellow Brown
#B79400
ΔE00 5.26
Ocher
#BF9B0C
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9B33 #3347AF
analogous
#AF5D33 #AF9B33 #85AF33
triadic
#AF9B33 #33AF9B #9B33AF
tetradic
#AF9B33 #33AF5D #3347AF #AF3385
square
#AF9B33 #33AF5D #3347AF #AF3385
split-complementary
#AF9B33 #3385AF #5D33AF
monochromatic
#504717 #807125 #AF9B33 #CDB952 #DBCC82
Accessibility & contrast
On white
2.78
#AF9B33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#AF9B33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9B33
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9B33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9B33 | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9724
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#BD8F86
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #af9b33; /* rgb */ color: rgb(175, 155, 51); /* oklch */ color: oklch(68.8% 0.123 98.1);
Tailwind
colors: {
custom: {
50: '#cab871',
500: '#af9b33',
950: '#000000',
},
}SCSS
$custom: #af9b33; $custom-light: #cab871; $custom-dark: #000000;
JSON
{
"hex": "#af9b33",
"rgb": {
"r": 175,
"g": 155,
"b": 51
},
"hsl": {
"h": 50.323,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.68816,
"c": 0.1229,
"h": 98.1
},
"luminance": 0.32796
}Semantic roles & 50–950 ramp
primary
#AF9B33
secondary
#7A86C4
accent
#62DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B