#AD9827#AD9827
#AD9827 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.9% C 0.128 H 98.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AD9827 |
|---|---|
| RGB | rgb(173, 152, 39) |
| HSL | hsl(51, 63%, 42%) |
| HSV | hsv(51, 77%, 68%) |
| CMYK | cmyk(0%, 12.1%, 77.5%, 32.2%) |
| CIE-LAB | lab(62.92, -4.22, 57.99) |
| CIE-LCH | lch(62.92, 58.14, 94.16°) |
| OKLab | oklab(67.89% -0.018 0.1267) |
| OKLCH | oklch(67.89% 0.128 98.1) |
| XYZ | xyz(28.8295, 31.4887, 6.4785) |
| Luminance | 0.3149 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.59
Baby Poo
#AB9004
ΔE00 3.21
Baby Shit Brown
#AD900D
ΔE00 3.36
Dark Gold
#B59410
ΔE00 3.74
Yellow Brown
#B79400
ΔE00 4.42
Ocher
#BF9B0C
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD9827 #273CAD
analogous
#AD5527 #AD9827 #7FAD27
triadic
#AD9827 #27AD98 #9827AD
tetradic
#AD9827 #27AD55 #273CAD #AD277F
square
#AD9827 #27AD55 #273CAD #AD277F
split-complementary
#AD9827 #277FAD #5527AD
monochromatic
#494010 #7B6C1C #AD9827 #D3BC3E #DFCD70
Accessibility & contrast
On white
2.88
#AD9827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#AD9827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AD9827
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD9827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AD9827 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8940F
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#BB8C83
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ad9827; /* rgb */ color: rgb(173, 152, 39); /* oklch */ color: oklch(67.9% 0.128 98.1);
Tailwind
colors: {
custom: {
50: '#c9b56b',
500: '#ad9827',
950: '#000000',
},
}SCSS
$custom: #ad9827; $custom-light: #c9b56b; $custom-dark: #000000;
JSON
{
"hex": "#ad9827",
"rgb": {
"r": 173,
"g": 152,
"b": 39
},
"hsl": {
"h": 50.597,
"s": 63.208,
"l": 41.569
},
"oklch": {
"l": 0.67892,
"c": 0.12794,
"h": 98.1
},
"luminance": 0.31487
}Semantic roles & 50–950 ramp
primary
#AD9827
secondary
#6A79C6
accent
#5BE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A