#AB9C3A#AB9C3A
#AB9C3A is a light, moderate yellow. Relative luminance 0.327; OKLCH L 68.7% C 0.118 H 100.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9C3A |
|---|---|
| RGB | rgb(171, 156, 58) |
| HSL | hsl(52, 49%, 45%) |
| HSV | hsv(52, 66%, 67%) |
| CMYK | cmyk(0%, 8.8%, 66.1%, 32.9%) |
| CIE-LAB | lab(63.95, -6.29, 51.47) |
| CIE-LCH | lch(63.95, 51.85, 96.96°) |
| OKLab | oklab(68.71% -0.0217 0.1165) |
| OKLCH | oklch(68.71% 0.118 100.6) |
| XYZ | xyz(29.4480, 32.7416, 8.7708) |
| Luminance | 0.3274 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.15
Baby Poo
#AB9004
ΔE00 5.74
Baby Shit Brown
#AD900D
ΔE00 5.86
Vomit
#A2A415
ΔE00 6.00
Dark Gold
#B59410
ΔE00 6.19
Puke
#A5A502
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9C3A #3A49AB
analogous
#AB633A #AB9C3A #82AB3A
triadic
#AB9C3A #3AAB9C #9C3AAB
tetradic
#AB9C3A #3AAB63 #3A49AB #AB3A82
square
#AB9C3A #3AAB63 #3A49AB #AB3A82
split-complementary
#AB9C3A #3A82AB #633AAB
monochromatic
#50491B #7D722A #AB9C3A #C7B95B #D7CC89
Accessibility & contrast
On white
2.78
#AB9C3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#AB9C3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9C3A
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9C3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9C3A | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA982E
Deuteranopia (green-blind)
#AF9E3F
Tritanopia (blue-blind)
#B89188
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ab9c3a; /* rgb */ color: rgb(171, 156, 58); /* oklch */ color: oklch(68.7% 0.118 100.6);
Tailwind
colors: {
custom: {
50: '#c7b875',
500: '#ab9c3a',
950: '#000000',
},
}SCSS
$custom: #ab9c3a; $custom-light: #c7b875; $custom-dark: #000000;
JSON
{
"hex": "#ab9c3a",
"rgb": {
"r": 171,
"g": 156,
"b": 58
},
"hsl": {
"h": 52.035,
"s": 49.345,
"l": 44.902
},
"oklch": {
"l": 0.68709,
"c": 0.11845,
"h": 100.6
},
"luminance": 0.3274
}Semantic roles & 50–950 ramp
primary
#AB9C3A
secondary
#8088C1
accent
#61D94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B