#AB972E#AB972E
#AB972E is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.5% C 0.123 H 98.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AB972E |
|---|---|
| RGB | rgb(171, 151, 46) |
| HSL | hsl(50, 58%, 43%) |
| HSV | hsv(50, 73%, 67%) |
| CMYK | cmyk(0%, 11.7%, 73.1%, 32.9%) |
| CIE-LAB | lab(62.50, -4.26, 54.95) |
| CIE-LCH | lch(62.50, 55.11, 94.44°) |
| OKLab | oklab(67.53% -0.0173 0.1217) |
| OKLCH | oklch(67.53% 0.123 98.1) |
| XYZ | xyz(28.3557, 30.9898, 7.0723) |
| Luminance | 0.3099 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.42
Baby Poo
#AB9004
ΔE00 3.59
Baby Shit Brown
#AD900D
ΔE00 3.69
Dark Gold
#B59410
ΔE00 4.26
Yellow Brown
#B79400
ΔE00 5.01
Dark Mustard
#A88905
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB972E #2E42AB
analogous
#AB582E #AB972E #81AB2E
triadic
#AB972E #2EAB97 #972EAB
tetradic
#AB972E #2EAB58 #2E42AB #AB2E81
square
#AB972E #2EAB58 #2E42AB #AB2E81
split-complementary
#AB972E #2E81AB #582EAB
monochromatic
#4B4214 #7B6C21 #AB972E #CEB848 #DBCB79
Accessibility & contrast
On white
2.92
#AB972E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#AB972E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB972E
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB972E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB972E | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6931D
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#B98B82
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #ab972e; /* rgb */ color: rgb(171, 151, 46); /* oklch */ color: oklch(67.5% 0.123 98.1);
Tailwind
colors: {
custom: {
50: '#c8b56e',
500: '#ab972e',
950: '#000000',
},
}SCSS
$custom: #ab972e; $custom-light: #c8b56e; $custom-dark: #000000;
JSON
{
"hex": "#ab972e",
"rgb": {
"r": 171,
"g": 151,
"b": 46
},
"hsl": {
"h": 50.4,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.67529,
"c": 0.1229,
"h": 98.1
},
"luminance": 0.30988
}Semantic roles & 50–950 ramp
primary
#AB972E
secondary
#727FC3
accent
#60E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B