#AD9A2F#AD9A2F
#AD9A2F is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.4% C 0.125 H 98.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AD9A2F |
|---|---|
| RGB | rgb(173, 154, 47) |
| HSL | hsl(51, 57%, 43%) |
| HSV | hsv(51, 73%, 68%) |
| CMYK | cmyk(0%, 11%, 72.8%, 32.2%) |
| CIE-LAB | lab(63.51, -4.94, 55.61) |
| CIE-LCH | lch(63.51, 55.83, 95.07°) |
| OKLab | oklab(68.38% -0.0192 0.1232) |
| OKLCH | oklch(68.38% 0.125 98.9) |
| XYZ | xyz(29.3037, 32.2021, 7.3609) |
| Luminance | 0.3220 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.48
Baby Poo
#AB9004
ΔE00 4.19
Baby Shit Brown
#AD900D
ΔE00 4.31
Dark Gold
#B59410
ΔE00 4.59
Yellow Brown
#B79400
ΔE00 5.28
Ocher
#BF9B0C
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD9A2F #2F42AD
analogous
#AD5B2F #AD9A2F #81AD2F
triadic
#AD9A2F #2FAD9A #9A2FAD
tetradic
#AD9A2F #2FAD5B #2F42AD #AD2F81
square
#AD9A2F #2FAD5B #2F42AD #AD2F81
split-complementary
#AD9A2F #2F81AD #5B2FAD
monochromatic
#4D4415 #7D6F22 #AD9A2F #CEBA4B #DBCD7B
Accessibility & contrast
On white
2.82
#AD9A2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#AD9A2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AD9A2F
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD9A2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AD9A2F | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9961E
Deuteranopia (green-blind)
#AE9D36
Tritanopia (blue-blind)
#BB8E85
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ad9a2f; /* rgb */ color: rgb(173, 154, 47); /* oklch */ color: oklch(68.4% 0.125 98.9);
Tailwind
colors: {
custom: {
50: '#c9b76f',
500: '#ad9a2f',
950: '#000000',
},
}SCSS
$custom: #ad9a2f; $custom-light: #c9b76f; $custom-dark: #000000;
JSON
{
"hex": "#ad9a2f",
"rgb": {
"r": 173,
"g": 154,
"b": 47
},
"hsl": {
"h": 50.952,
"s": 57.273,
"l": 43.137
},
"oklch": {
"l": 0.68377,
"c": 0.12469,
"h": 98.9
},
"luminance": 0.32201
}Semantic roles & 50–950 ramp
primary
#AD9A2F
secondary
#7480C4
accent
#5EE147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B