#ABAB30#ABAB30
#ABAB30 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.9% C 0.140 H 109.5°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAB30 |
|---|---|
| RGB | rgb(171, 171, 48) |
| HSL | hsl(60, 56%, 43%) |
| HSV | hsv(60, 72%, 67%) |
| CMYK | cmyk(0%, 0%, 71.9%, 32.9%) |
| CIE-LAB | lab(68.02, -14.71, 59.55) |
| CIE-LCH | lch(68.02, 61.34, 103.87°) |
| OKLab | oklab(71.93% -0.0465 0.1318) |
| OKLCH | oklch(71.93% 0.14 109.5) |
| XYZ | xyz(31.8921, 37.9981, 8.4501) |
| Luminance | 0.3800 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.65
Puke
#A5A502
ΔE00 2.90
Mustard Green
#A8B504
ΔE00 4.41
Puke Green
#9AAE07
ΔE00 4.81
Pea Soup Green
#94A617
ΔE00 4.96
Snot
#ACBB0D
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAB30 #3030AB
analogous
#AB6D30 #ABAB30 #6DAB30
triadic
#ABAB30 #30ABAB #AB30AB
tetradic
#ABAB30 #30AB6D #3030AB #AB306D
square
#ABAB30 #30AB6D #3030AB #AB306D
split-complementary
#ABAB30 #306DAB #6D30AB
monochromatic
#4B4B15 #7B7B23 #ABAB30 #CDCD4C #DADA7B
Accessibility & contrast
On white
2.44
#ABAB30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#ABAB30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAB30
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAB30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAB30 | 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)
#B9A419
Deuteranopia (green-blind)
#BAA839
Tritanopia (blue-blind)
#B7A093
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #abab30; /* rgb */ color: rgb(171, 171, 48); /* oklch */ color: oklch(71.9% 0.140 109.5);
Tailwind
colors: {
custom: {
50: '#c7c371',
500: '#abab30',
950: '#000000',
},
}SCSS
$custom: #abab30; $custom-light: #c7c371; $custom-dark: #000000;
JSON
{
"hex": "#abab30",
"rgb": {
"r": 171,
"g": 171,
"b": 48
},
"hsl": {
"h": 60,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.71925,
"c": 0.13977,
"h": 109.5
},
"luminance": 0.37997
}Semantic roles & 50–950 ramp
primary
#ABAB30
secondary
#7474C3
accent
#48DF48
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B