#AB9826#AB9826
#AB9826 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.7% C 0.128 H 99.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9826 |
|---|---|
| RGB | rgb(171, 152, 38) |
| HSL | hsl(51, 64%, 41%) |
| HSV | hsv(51, 78%, 67%) |
| CMYK | cmyk(0%, 11.1%, 77.8%, 32.9%) |
| CIE-LAB | lab(62.72, -5.16, 58.08) |
| CIE-LCH | lch(62.72, 58.31, 95.07°) |
| OKLab | oklab(67.69% -0.0207 0.1268) |
| OKLCH | oklch(67.69% 0.128 99.3) |
| XYZ | xyz(28.3741, 31.2558, 6.3718) |
| Luminance | 0.3125 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.97
Baby Poo
#AB9004
ΔE00 3.47
Baby Shit Brown
#AD900D
ΔE00 3.72
Dark Gold
#B59410
ΔE00 4.27
Yellow Brown
#B79400
ΔE00 4.94
Ocher
#BF9B0C
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9826 #2639AB
analogous
#AB5626 #AB9826 #7BAB26
triadic
#AB9826 #26AB98 #9826AB
tetradic
#AB9826 #26AB56 #2639AB #AB267B
square
#AB9826 #26AB56 #2639AB #AB267B
split-complementary
#AB9826 #267BAB #5626AB
monochromatic
#473F10 #796B1B #AB9826 #D3BE3B #DFCE6D
Accessibility & contrast
On white
2.90
#AB9826 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#AB9826 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9826
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9826 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9826 | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7940C
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#B98C82
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ab9826; /* rgb */ color: rgb(171, 152, 38); /* oklch */ color: oklch(67.7% 0.128 99.3);
Tailwind
colors: {
custom: {
50: '#c8b56a',
500: '#ab9826',
950: '#000000',
},
}SCSS
$custom: #ab9826; $custom-light: #c8b56a; $custom-dark: #000000;
JSON
{
"hex": "#ab9826",
"rgb": {
"r": 171,
"g": 152,
"b": 38
},
"hsl": {
"h": 51.429,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.67691,
"c": 0.12843,
"h": 99.3
},
"luminance": 0.31254
}Semantic roles & 50–950 ramp
primary
#AB9826
secondary
#6875C5
accent
#59E741
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A