#AF9F37#AF9F37
#AF9F37 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.7% C 0.123 H 100.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9F37 |
|---|---|
| RGB | rgb(175, 159, 55) |
| HSL | hsl(52, 52%, 45%) |
| HSV | hsv(52, 69%, 69%) |
| CMYK | cmyk(0%, 9.1%, 68.6%, 31.4%) |
| CIE-LAB | lab(65.11, -6.30, 54.06) |
| CIE-LCH | lch(65.11, 54.43, 96.65°) |
| OKLab | oklab(69.71% -0.0223 0.1213) |
| OKLCH | oklch(69.71% 0.123 100.4) |
| XYZ | xyz(30.7683, 34.1874, 8.5918) |
| Luminance | 0.3419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.75
Vomit
#A2A415
ΔE00 5.65
Puke
#A5A502
ΔE00 5.70
Baby Poo
#AB9004
ΔE00 5.83
Baby Shit Brown
#AD900D
ΔE00 5.95
Dark Gold
#B59410
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9F37 #3747AF
analogous
#AF6337 #AF9F37 #83AF37
triadic
#AF9F37 #37AF9F #9F37AF
tetradic
#AF9F37 #37AF63 #3747AF #AF3783
square
#AF9F37 #37AF63 #3747AF #AF3783
split-complementary
#AF9F37 #3783AF #6337AF
monochromatic
#524A1A #807528 #AF9F37 #CBBB59 #D9CE87
Accessibility & contrast
On white
2.68
#AF9F37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#AF9F37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9F37
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9F37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9F37 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9B29
Deuteranopia (green-blind)
#B2A13D
Tritanopia (blue-blind)
#BC948A
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af9f37; /* rgb */ color: rgb(175, 159, 55); /* oklch */ color: oklch(69.7% 0.123 100.4);
Tailwind
colors: {
custom: {
50: '#cabb74',
500: '#af9f37',
950: '#000000',
},
}SCSS
$custom: #af9f37; $custom-light: #cabb74; $custom-dark: #000000;
JSON
{
"hex": "#af9f37",
"rgb": {
"r": 175,
"g": 159,
"b": 55
},
"hsl": {
"h": 52,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.69709,
"c": 0.12334,
"h": 100.4
},
"luminance": 0.34186
}Semantic roles & 50–950 ramp
primary
#AF9F37
secondary
#7F88C3
accent
#5FDC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B