#AF9D37#AF9D37
#AF9D37 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.3% C 0.122 H 99.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9D37 |
|---|---|
| RGB | rgb(175, 157, 55) |
| HSL | hsl(51, 52%, 45%) |
| HSV | hsv(51, 69%, 69%) |
| CMYK | cmyk(0%, 10.3%, 68.6%, 31.4%) |
| CIE-LAB | lab(64.57, -5.24, 53.51) |
| CIE-LCH | lch(64.57, 53.76, 95.59°) |
| OKLab | oklab(69.28% -0.0193 0.1201) |
| OKLCH | oklch(69.28% 0.122 99.1) |
| XYZ | xyz(30.4271, 33.5052, 8.4781) |
| Luminance | 0.3350 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.32
Baby Poo
#AB9004
ΔE00 5.25
Baby Shit Brown
#AD900D
ΔE00 5.31
Dark Gold
#B59410
ΔE00 5.35
Ocher
#BF9B0C
ΔE00 5.94
Yellow Brown
#B79400
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9D37 #3749AF
analogous
#AF6137 #AF9D37 #85AF37
triadic
#AF9D37 #37AF9D #9D37AF
tetradic
#AF9D37 #37AF61 #3749AF #AF3785
square
#AF9D37 #37AF61 #3749AF #AF3785
split-complementary
#AF9D37 #3785AF #6137AF
monochromatic
#52491A #807328 #AF9D37 #CBBA59 #D9CD87
Accessibility & contrast
On white
2.73
#AF9D37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#AF9D37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9D37
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9D37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9D37 | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9929
Deuteranopia (green-blind)
#B19F3D
Tritanopia (blue-blind)
#BC9288
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #af9d37; /* rgb */ color: rgb(175, 157, 55); /* oklch */ color: oklch(69.3% 0.122 99.1);
Tailwind
colors: {
custom: {
50: '#cab974',
500: '#af9d37',
950: '#000000',
},
}SCSS
$custom: #af9d37; $custom-light: #cab974; $custom-dark: #000000;
JSON
{
"hex": "#af9d37",
"rgb": {
"r": 175,
"g": 157,
"b": 55
},
"hsl": {
"h": 51,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.69278,
"c": 0.12167,
"h": 99.1
},
"luminance": 0.33504
}Semantic roles & 50–950 ramp
primary
#AF9D37
secondary
#7F89C3
accent
#62DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B