#AD9726#AD9726
#AD9726 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.7% C 0.128 H 97.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AD9726 |
|---|---|
| RGB | rgb(173, 151, 38) |
| HSL | hsl(50, 64%, 41%) |
| HSV | hsv(50, 78%, 68%) |
| CMYK | cmyk(0%, 12.7%, 78%, 32.2%) |
| CIE-LAB | lab(62.64, -3.72, 58.08) |
| CIE-LCH | lch(62.64, 58.20, 93.66°) |
| OKLab | oklab(67.67% -0.0167 0.1267) |
| OKLCH | oklch(67.67% 0.128 97.5) |
| XYZ | xyz(28.6515, 31.1589, 6.3385) |
| Luminance | 0.3116 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.42
Baby Poo
#AB9004
ΔE00 2.87
Baby Shit Brown
#AD900D
ΔE00 2.98
Dark Gold
#B59410
ΔE00 3.42
Yellow Brown
#B79400
ΔE00 4.13
Ocher
#BF9B0C
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD9726 #263CAD
analogous
#AD5426 #AD9726 #80AD26
triadic
#AD9726 #26AD97 #9726AD
tetradic
#AD9726 #26AD54 #263CAD #AD2680
square
#AD9726 #26AD54 #263CAD #AD2680
split-complementary
#AD9726 #2680AD #5426AD
monochromatic
#493F10 #7B6B1B #AD9726 #D4BB3C #DFCD6E
Accessibility & contrast
On white
2.90
#AD9726 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#AD9726 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AD9726
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD9726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AD9726 | 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)
#A7930D
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#BB8B82
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #ad9726; /* rgb */ color: rgb(173, 151, 38); /* oklch */ color: oklch(67.7% 0.128 97.5);
Tailwind
colors: {
custom: {
50: '#c9b56a',
500: '#ad9726',
950: '#000000',
},
}SCSS
$custom: #ad9726; $custom-light: #c9b56a; $custom-dark: #000000;
JSON
{
"hex": "#ad9726",
"rgb": {
"r": 173,
"g": 151,
"b": 38
},
"hsl": {
"h": 50.222,
"s": 63.981,
"l": 41.373
},
"oklch": {
"l": 0.67671,
"c": 0.12776,
"h": 97.5
},
"luminance": 0.31157
}Semantic roles & 50–950 ramp
primary
#AD9726
secondary
#6978C6
accent
#5CE741
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A