#AB9E30#AB9E30
#AB9E30 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.1% C 0.127 H 102.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9E30 |
|---|---|
| RGB | rgb(171, 158, 48) |
| HSL | hsl(54, 56%, 43%) |
| HSV | hsv(54, 72%, 67%) |
| CMYK | cmyk(0%, 7.6%, 71.9%, 32.9%) |
| CIE-LAB | lab(64.42, -7.91, 56.06) |
| CIE-LCH | lch(64.42, 56.61, 98.03°) |
| OKLab | oklab(69.06% -0.0274 0.1244) |
| OKLCH | oklch(69.06% 0.127 102.4) |
| XYZ | xyz(29.5562, 33.3263, 7.6715) |
| Luminance | 0.3332 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.64
Puke
#A5A502
ΔE00 4.75
Brown Yellow
#B29705
ΔE00 4.92
Baby Poo
#AB9004
ΔE00 5.85
Muddy Yellow
#BFAC05
ΔE00 6.06
Baby Shit Brown
#AD900D
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9E30 #303DAB
analogous
#AB6130 #AB9E30 #7AAB30
triadic
#AB9E30 #30AB9E #9E30AB
tetradic
#AB9E30 #30AB61 #303DAB #AB307A
square
#AB9E30 #30AB61 #303DAB #AB307A
split-complementary
#AB9E30 #307AAB #6130AB
monochromatic
#4B4615 #7B7223 #AB9E30 #CDBF4C #DAD07B
Accessibility & contrast
On white
2.74
#AB9E30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#AB9E30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9E30
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9E30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9E30 | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD991E
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#B89388
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ab9e30; /* rgb */ color: rgb(171, 158, 48); /* oklch */ color: oklch(69.1% 0.127 102.4);
Tailwind
colors: {
custom: {
50: '#c7ba70',
500: '#ab9e30',
950: '#000000',
},
}SCSS
$custom: #ab9e30; $custom-light: #c7ba70; $custom-dark: #000000;
JSON
{
"hex": "#ab9e30",
"rgb": {
"r": 171,
"g": 158,
"b": 48
},
"hsl": {
"h": 53.659,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.69061,
"c": 0.1274,
"h": 102.4
},
"luminance": 0.33325
}Semantic roles & 50–950 ramp
primary
#AB9E30
secondary
#747DC3
accent
#58DF48
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B