#AB982E#AB982E
#AB982E is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.7% C 0.124 H 98.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AB982E |
|---|---|
| RGB | rgb(171, 152, 46) |
| HSL | hsl(51, 58%, 43%) |
| HSV | hsv(51, 73%, 67%) |
| CMYK | cmyk(0%, 11.1%, 73.1%, 32.9%) |
| CIE-LAB | lab(62.77, -4.80, 55.21) |
| CIE-LCH | lch(62.77, 55.42, 94.97°) |
| OKLab | oklab(67.75% -0.0188 0.1222) |
| OKLCH | oklch(67.75% 0.124 98.8) |
| XYZ | xyz(28.5173, 31.3131, 7.1262) |
| Luminance | 0.3131 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.52
Baby Poo
#AB9004
ΔE00 3.86
Baby Shit Brown
#AD900D
ΔE00 4.00
Dark Gold
#B59410
ΔE00 4.52
Yellow Brown
#B79400
ΔE00 5.24
Ocher
#BF9B0C
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB982E #2E41AB
analogous
#AB592E #AB982E #80AB2E
triadic
#AB982E #2EAB98 #982EAB
tetradic
#AB982E #2EAB59 #2E41AB #AB2E80
square
#AB982E #2EAB59 #2E41AB #AB2E80
split-complementary
#AB982E #2E80AB #592EAB
monochromatic
#4B4214 #7B6D21 #AB982E #CEBA48 #DBCC79
Accessibility & contrast
On white
2.89
#AB982E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#AB982E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB982E
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB982E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB982E | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7941D
Deuteranopia (green-blind)
#AC9B35
Tritanopia (blue-blind)
#B98D83
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ab982e; /* rgb */ color: rgb(171, 152, 46); /* oklch */ color: oklch(67.7% 0.124 98.8);
Tailwind
colors: {
custom: {
50: '#c8b66e',
500: '#ab982e',
950: '#000000',
},
}SCSS
$custom: #ab982e; $custom-light: #c8b66e; $custom-dark: #000000;
JSON
{
"hex": "#ab982e",
"rgb": {
"r": 171,
"g": 152,
"b": 46
},
"hsl": {
"h": 50.88,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.67745,
"c": 0.12368,
"h": 98.8
},
"luminance": 0.31312
}Semantic roles & 50–950 ramp
primary
#AB982E
secondary
#727EC3
accent
#5EE147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B