#AF9D38#AF9D38
#AF9D38 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.3% C 0.121 H 99.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9D38 |
|---|---|
| RGB | rgb(175, 157, 56) |
| HSL | hsl(51, 52%, 45%) |
| HSV | hsv(51, 68%, 69%) |
| CMYK | cmyk(0%, 10.3%, 68%, 31.4%) |
| CIE-LAB | lab(64.58, -5.18, 53.09) |
| CIE-LCH | lch(64.58, 53.35, 95.57°) |
| OKLab | oklab(69.29% -0.019 0.1194) |
| OKLCH | oklch(69.29% 0.121 99) |
| XYZ | xyz(30.4513, 33.5148, 8.6056) |
| Luminance | 0.3351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.41
Baby Poo
#AB9004
ΔE00 5.31
Baby Shit Brown
#AD900D
ΔE00 5.36
Dark Gold
#B59410
ΔE00 5.40
Ocher
#BF9B0C
ΔE00 6.00
Yellow Brown
#B79400
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9D38 #384AAF
analogous
#AF6138 #AF9D38 #86AF38
triadic
#AF9D38 #38AF9D #9D38AF
tetradic
#AF9D38 #38AF61 #384AAF #AF3886
square
#AF9D38 #38AF61 #384AAF #AF3886
split-complementary
#AF9D38 #3886AF #6138AF
monochromatic
#524A1A #817329 #AF9D38 #CAB95A #D9CD88
Accessibility & contrast
On white
2.73
#AF9D38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#AF9D38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9D38
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9D38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9D38 | 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)
#AC992B
Deuteranopia (green-blind)
#B19F3E
Tritanopia (blue-blind)
#BC9288
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #af9d38; /* rgb */ color: rgb(175, 157, 56); /* oklch */ color: oklch(69.3% 0.121 99.0);
Tailwind
colors: {
custom: {
50: '#cab974',
500: '#af9d38',
950: '#000000',
},
}SCSS
$custom: #af9d38; $custom-light: #cab974; $custom-dark: #000000;
JSON
{
"hex": "#af9d38",
"rgb": {
"r": 175,
"g": 157,
"b": 56
},
"hsl": {
"h": 50.924,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.69287,
"c": 0.12094,
"h": 99
},
"luminance": 0.33513
}Semantic roles & 50–950 ramp
primary
#AF9D38
secondary
#808AC3
accent
#62DB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B