#ABAB2E#ABAB2E
#ABAB2E is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.9% C 0.141 H 109.5°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAB2E |
|---|---|
| RGB | rgb(171, 171, 46) |
| HSL | hsl(60, 58%, 43%) |
| HSV | hsv(60, 73%, 67%) |
| CMYK | cmyk(0%, 0%, 73.1%, 32.9%) |
| CIE-LAB | lab(68.01, -14.80, 60.25) |
| CIE-LCH | lch(68.01, 62.04, 103.80°) |
| OKLab | oklab(71.91% -0.047 0.1329) |
| OKLCH | oklch(71.91% 0.141 109.5) |
| XYZ | xyz(31.8518, 37.9820, 8.2376) |
| Luminance | 0.3798 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.55
Puke
#A5A502
ΔE00 2.75
Mustard Green
#A8B504
ΔE00 4.31
Puke Green
#9AAE07
ΔE00 4.75
Pea Soup Green
#94A617
ΔE00 4.95
Snot
#ACBB0D
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAB2E #2E2EAB
analogous
#AB6C2E #ABAB2E #6CAB2E
triadic
#ABAB2E #2EABAB #AB2EAB
tetradic
#ABAB2E #2EAB6C #2E2EAB #AB2E6C
square
#ABAB2E #2EAB6C #2E2EAB #AB2E6C
split-complementary
#ABAB2E #2E6CAB #6C2EAB
monochromatic
#4B4B14 #7B7B21 #ABAB2E #CECE48 #DBDB79
Accessibility & contrast
On white
2.44
#ABAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#ABAB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAB2E
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAB2E | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A415
Deuteranopia (green-blind)
#BAA838
Tritanopia (blue-blind)
#B7A093
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #abab2e; /* rgb */ color: rgb(171, 171, 46); /* oklch */ color: oklch(71.9% 0.141 109.5);
Tailwind
colors: {
custom: {
50: '#c7c370',
500: '#abab2e',
950: '#000000',
},
}SCSS
$custom: #abab2e; $custom-light: #c7c370; $custom-dark: #000000;
JSON
{
"hex": "#abab2e",
"rgb": {
"r": 171,
"g": 171,
"b": 46
},
"hsl": {
"h": 60,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.71912,
"c": 0.14098,
"h": 109.5
},
"luminance": 0.37981
}Semantic roles & 50–950 ramp
primary
#ABAB2E
secondary
#7272C3
accent
#47E147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B