#AB9229#AB9229
#AB9229 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.4% C 0.122 H 95.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9229 |
|---|---|
| RGB | rgb(171, 146, 41) |
| HSL | hsl(48, 61%, 42%) |
| HSV | hsv(48, 76%, 67%) |
| CMYK | cmyk(0%, 14.6%, 76%, 32.9%) |
| CIE-LAB | lab(61.11, -1.78, 55.51) |
| CIE-LCH | lch(61.11, 55.54, 91.84°) |
| OKLab | oklab(66.42% -0.0108 0.1219) |
| OKLCH | oklch(66.42% 0.122 95.1) |
| XYZ | xyz(27.4752, 29.3773, 6.3206) |
| Luminance | 0.2938 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 2.23
Baby Poo
#AB9004
ΔE00 2.40
Dark Gold
#B59410
ΔE00 3.18
Brown Yellow
#B29705
ΔE00 3.27
Dark Mustard
#A88905
ΔE00 3.56
Yellowy Brown
#AE8B0C
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9229 #2942AB
analogous
#AB5129 #AB9229 #83AB29
triadic
#AB9229 #29AB92 #9229AB
tetradic
#AB9229 #29AB51 #2942AB #AB2983
square
#AB9229 #29AB51 #2942AB #AB2983
split-complementary
#AB9229 #2983AB #5129AB
monochromatic
#483E11 #7A681D #AB9229 #D1B540 #DDC871
Accessibility & contrast
On white
3.05
#AB9229 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#AB9229 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB9229
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9229 | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F16
Deuteranopia (green-blind)
#A89730
Tritanopia (blue-blind)
#B9867E
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #ab9229; /* rgb */ color: rgb(171, 146, 41); /* oklch */ color: oklch(66.4% 0.122 95.1);
Tailwind
colors: {
custom: {
50: '#c8b16b',
500: '#ab9229',
950: '#000000',
},
}SCSS
$custom: #ab9229; $custom-light: #c8b16b; $custom-dark: #000000;
JSON
{
"hex": "#ab9229",
"rgb": {
"r": 171,
"g": 146,
"b": 41
},
"hsl": {
"h": 48.462,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.66422,
"c": 0.12238,
"h": 95.1
},
"luminance": 0.29376
}Semantic roles & 50–950 ramp
primary
#AB9229
secondary
#6C7DC4
accent
#62E443
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A