#AB952B#AB952B
#AB952B is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.1% C 0.123 H 97.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AB952B |
|---|---|
| RGB | rgb(171, 149, 43) |
| HSL | hsl(50, 60%, 42%) |
| HSV | hsv(50, 75%, 67%) |
| CMYK | cmyk(0%, 12.9%, 74.9%, 32.9%) |
| CIE-LAB | lab(61.94, -3.32, 55.55) |
| CIE-LCH | lch(61.94, 55.65, 93.42°) |
| OKLab | oklab(67.08% -0.015 0.1224) |
| OKLCH | oklch(67.08% 0.123 97) |
| XYZ | xyz(27.9795, 30.3287, 6.6653) |
| Luminance | 0.3033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 2.93
Baby Shit Brown
#AD900D
ΔE00 2.96
Brown Yellow
#B29705
ΔE00 3.12
Dark Gold
#B59410
ΔE00 3.69
Yellow Brown
#B79400
ΔE00 4.45
Dark Mustard
#A88905
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB952B #2B41AB
analogous
#AB552B #AB952B #81AB2B
triadic
#AB952B #2BAB95 #952BAB
tetradic
#AB952B #2BAB55 #2B41AB #AB2B81
square
#AB952B #2BAB55 #2B41AB #AB2B81
split-complementary
#AB952B #2B81AB #552BAB
monochromatic
#494012 #7A6A1F #AB952B #D0B843 #DCCA74
Accessibility & contrast
On white
2.97
#AB952B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#AB952B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB952B
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB952B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB952B | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49218
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#B98980
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ab952b; /* rgb */ color: rgb(171, 149, 43); /* oklch */ color: oklch(67.1% 0.123 97.0);
Tailwind
colors: {
custom: {
50: '#c8b36c',
500: '#ab952b',
950: '#000000',
},
}SCSS
$custom: #ab952b; $custom-light: #c8b36c; $custom-dark: #000000;
JSON
{
"hex": "#ab952b",
"rgb": {
"r": 171,
"g": 149,
"b": 43
},
"hsl": {
"h": 49.688,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.67078,
"c": 0.12329,
"h": 97
},
"luminance": 0.30327
}Semantic roles & 50–950 ramp
primary
#AB952B
secondary
#6E7DC4
accent
#60E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A