#AD9728#AD9728
#AD9728 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 | #AD9728 |
|---|---|
| RGB | rgb(173, 151, 40) |
| HSL | hsl(50, 62%, 42%) |
| HSV | hsv(50, 77%, 68%) |
| CMYK | cmyk(0%, 12.7%, 76.9%, 32.2%) |
| CIE-LAB | lab(62.65, -3.64, 57.39) |
| CIE-LCH | lch(62.65, 57.51, 93.63°) |
| OKLab | oklab(67.68% -0.0163 0.1256) |
| OKLCH | oklch(67.68% 0.127 97.4) |
| XYZ | xyz(28.6847, 31.1722, 6.5130) |
| Luminance | 0.3117 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.57
Baby Poo
#AB9004
ΔE00 2.97
Baby Shit Brown
#AD900D
ΔE00 3.05
Dark Gold
#B59410
ΔE00 3.49
Yellow Brown
#B79400
ΔE00 4.21
Ocher
#BF9B0C
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD9728 #283EAD
analogous
#AD5528 #AD9728 #81AD28
triadic
#AD9728 #28AD97 #9728AD
tetradic
#AD9728 #28AD55 #283EAD #AD2881
square
#AD9728 #28AD55 #283EAD #AD2881
split-complementary
#AD9728 #2881AD #5528AD
monochromatic
#4A4011 #7B6C1D #AD9728 #D3BA3F #DECC71
Accessibility & contrast
On white
2.90
#AD9728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#AD9728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AD9728
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD9728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AD9728 | 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)
#A79311
Deuteranopia (green-blind)
#AC9B2F
Tritanopia (blue-blind)
#BB8B82
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #ad9728; /* rgb */ color: rgb(173, 151, 40); /* oklch */ color: oklch(67.7% 0.127 97.4);
Tailwind
colors: {
custom: {
50: '#c9b56b',
500: '#ad9728',
950: '#000000',
},
}SCSS
$custom: #ad9728; $custom-light: #c9b56b; $custom-dark: #000000;
JSON
{
"hex": "#ad9728",
"rgb": {
"r": 173,
"g": 151,
"b": 40
},
"hsl": {
"h": 50.075,
"s": 62.441,
"l": 41.765
},
"oklch": {
"l": 0.67684,
"c": 0.12665,
"h": 97.4
},
"luminance": 0.31171
}Semantic roles & 50–950 ramp
primary
#AD9728
secondary
#6C7AC5
accent
#5DE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A