#AB9B29#AB9B29
#AB9B29 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.4% C 0.129 H 101.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9B29 |
|---|---|
| RGB | rgb(171, 155, 41) |
| HSL | hsl(53, 61%, 42%) |
| HSV | hsv(53, 76%, 67%) |
| CMYK | cmyk(0%, 9.4%, 76%, 32.9%) |
| CIE-LAB | lab(63.56, -6.64, 57.82) |
| CIE-LCH | lch(63.56, 58.20, 96.55°) |
| OKLab | oklab(68.36% -0.0245 0.1268) |
| OKLCH | oklch(68.36% 0.129 101) |
| XYZ | xyz(28.9175, 32.2621, 6.8014) |
| Luminance | 0.3226 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.77
Baby Poo
#AB9004
ΔE00 4.59
Baby Shit Brown
#AD900D
ΔE00 4.87
Dark Gold
#B59410
ΔE00 5.26
Puke
#A5A502
ΔE00 5.41
Vomit
#A2A415
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9B29 #2939AB
analogous
#AB5A29 #AB9B29 #7AAB29
triadic
#AB9B29 #29AB9B #9B29AB
tetradic
#AB9B29 #29AB5A #2939AB #AB297A
square
#AB9B29 #29AB5A #2939AB #AB297A
split-complementary
#AB9B29 #297AAB #5A29AB
monochromatic
#484211 #7A6E1D #AB9B29 #D1BF40 #DDD071
Accessibility & contrast
On white
2.82
#AB9B29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#AB9B29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9B29
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9B29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9B29 | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9612
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ab9b29; /* rgb */ color: rgb(171, 155, 41); /* oklch */ color: oklch(68.4% 0.129 101.0);
Tailwind
colors: {
custom: {
50: '#c8b86c',
500: '#ab9b29',
950: '#000000',
},
}SCSS
$custom: #ab9b29; $custom-light: #c8b86c; $custom-dark: #000000;
JSON
{
"hex": "#ab9b29",
"rgb": {
"r": 171,
"g": 155,
"b": 41
},
"hsl": {
"h": 52.615,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.6836,
"c": 0.12915,
"h": 101
},
"luminance": 0.32261
}Semantic roles & 50–950 ramp
primary
#AB9B29
secondary
#6C77C4
accent
#57E443
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A