#AB9127#AB9127
#AB9127 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.2% C 0.123 H 94.5°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9127 |
|---|---|
| RGB | rgb(171, 145, 39) |
| HSL | hsl(48, 63%, 41%) |
| HSV | hsv(48, 77%, 67%) |
| CMYK | cmyk(0%, 15.2%, 77.2%, 32.9%) |
| CIE-LAB | lab(60.83, -1.32, 55.98) |
| CIE-LCH | lch(60.83, 56.00, 91.35°) |
| OKLab | oklab(66.2% -0.0097 0.1225) |
| OKLCH | oklch(66.2% 0.123 94.5) |
| XYZ | xyz(27.2877, 29.0568, 6.0903) |
| Luminance | 0.2905 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 1.97
Baby Poo
#AB9004
ΔE00 2.22
Dark Gold
#B59410
ΔE00 3.03
Dark Mustard
#A88905
ΔE00 3.17
Yellowy Brown
#AE8B0C
ΔE00 3.26
Brown Yellow
#B29705
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9127 #2741AB
analogous
#AB4F27 #AB9127 #83AB27
triadic
#AB9127 #27AB91 #9127AB
tetradic
#AB9127 #27AB4F #2741AB #AB2783
square
#AB9127 #27AB4F #2741AB #AB2783
split-complementary
#AB9127 #2783AB #4F27AB
monochromatic
#473C10 #79671C #AB9127 #D3B53D #DEC86E
Accessibility & contrast
On white
3.08
#AB9127 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#AB9127 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB9127
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9127 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9127 | 1.00 | 3.08 | 6.81 | 6.81 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E12
Deuteranopia (green-blind)
#A7962E
Tritanopia (blue-blind)
#B9857D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #ab9127; /* rgb */ color: rgb(171, 145, 39); /* oklch */ color: oklch(66.2% 0.123 94.5);
Tailwind
colors: {
custom: {
50: '#c8b06a',
500: '#ab9127',
950: '#000000',
},
}SCSS
$custom: #ab9127; $custom-light: #c8b06a; $custom-dark: #000000;
JSON
{
"hex": "#ab9127",
"rgb": {
"r": 171,
"g": 145,
"b": 39
},
"hsl": {
"h": 48.182,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.66195,
"c": 0.12286,
"h": 94.5
},
"luminance": 0.29055
}Semantic roles & 50–950 ramp
primary
#AB9127
secondary
#697BC5
accent
#62E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A