#AD9727#AD9727
#AD9727 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.7% C 0.127 H 97.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AD9727 |
|---|---|
| RGB | rgb(173, 151, 39) |
| HSL | hsl(50, 63%, 42%) |
| HSV | hsv(50, 77%, 68%) |
| CMYK | cmyk(0%, 12.7%, 77.5%, 32.2%) |
| CIE-LAB | lab(62.65, -3.68, 57.74) |
| CIE-LCH | lch(62.65, 57.85, 93.65°) |
| OKLab | oklab(67.68% -0.0165 0.1261) |
| OKLCH | oklch(67.68% 0.127 97.4) |
| XYZ | xyz(28.6679, 31.1655, 6.4246) |
| Luminance | 0.3116 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.50
Baby Poo
#AB9004
ΔE00 2.92
Baby Shit Brown
#AD900D
ΔE00 3.02
Dark Gold
#B59410
ΔE00 3.45
Yellow Brown
#B79400
ΔE00 4.17
Ocher
#BF9B0C
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD9727 #273DAD
analogous
#AD5427 #AD9727 #80AD27
triadic
#AD9727 #27AD97 #9727AD
tetradic
#AD9727 #27AD54 #273DAD #AD2780
square
#AD9727 #27AD54 #273DAD #AD2780
split-complementary
#AD9727 #2780AD #5427AD
monochromatic
#494010 #7B6B1C #AD9727 #D3BB3E #DFCC70
Accessibility & contrast
On white
2.90
#AD9727 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#AD9727 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AD9727
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD9727 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AD9727 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7930F
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#BB8B82
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #ad9727; /* rgb */ color: rgb(173, 151, 39); /* oklch */ color: oklch(67.7% 0.127 97.4);
Tailwind
colors: {
custom: {
50: '#c9b56a',
500: '#ad9727',
950: '#000000',
},
}SCSS
$custom: #ad9727; $custom-light: #c9b56a; $custom-dark: #000000;
JSON
{
"hex": "#ad9727",
"rgb": {
"r": 173,
"g": 151,
"b": 39
},
"hsl": {
"h": 50.149,
"s": 63.208,
"l": 41.569
},
"oklch": {
"l": 0.67678,
"c": 0.12721,
"h": 97.4
},
"luminance": 0.31164
}Semantic roles & 50–950 ramp
primary
#AD9727
secondary
#6A79C6
accent
#5DE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A