#AF9F33#AF9F33
#AF9F33 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.126 H 100.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9F33 |
|---|---|
| RGB | rgb(175, 159, 51) |
| HSL | hsl(52, 55%, 44%) |
| HSV | hsv(52, 71%, 69%) |
| CMYK | cmyk(0%, 9.1%, 70.9%, 31.4%) |
| CIE-LAB | lab(65.08, -6.52, 55.66) |
| CIE-LCH | lch(65.08, 56.04, 96.68°) |
| OKLab | oklab(69.68% -0.0234 0.124) |
| OKLCH | oklch(69.68% 0.126 100.7) |
| XYZ | xyz(30.6763, 34.1506, 8.1072) |
| Luminance | 0.3415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.49
Puke
#A5A502
ΔE00 5.41
Vomit
#A2A415
ΔE00 5.42
Baby Poo
#AB9004
ΔE00 5.66
Muddy Yellow
#BFAC05
ΔE00 5.66
Baby Shit Brown
#AD900D
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9F33 #3343AF
analogous
#AF6133 #AF9F33 #81AF33
triadic
#AF9F33 #33AF9F #9F33AF
tetradic
#AF9F33 #33AF61 #3343AF #AF3381
square
#AF9F33 #33AF61 #3343AF #AF3381
split-complementary
#AF9F33 #3381AF #6133AF
monochromatic
#504917 #807425 #AF9F33 #CDBD52 #DBCF82
Accessibility & contrast
On white
2.68
#AF9F33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#AF9F33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9F33
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9F33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9F33 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A23
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#BC9489
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af9f33; /* rgb */ color: rgb(175, 159, 51); /* oklch */ color: oklch(69.7% 0.126 100.7);
Tailwind
colors: {
custom: {
50: '#cabb71',
500: '#af9f33',
950: '#000000',
},
}SCSS
$custom: #af9f33; $custom-light: #cabb71; $custom-dark: #000000;
JSON
{
"hex": "#af9f33",
"rgb": {
"r": 175,
"g": 159,
"b": 51
},
"hsl": {
"h": 52.258,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.69677,
"c": 0.12615,
"h": 100.7
},
"luminance": 0.34149
}Semantic roles & 50–950 ramp
primary
#AF9F33
secondary
#7A84C4
accent
#5DDE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B