#ABBA28#ABBA28
#ABBA28 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.2% C 0.160 H 115.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #ABBA28 |
|---|---|
| RGB | rgb(171, 186, 40) |
| HSL | hsl(66, 65%, 44%) |
| HSV | hsv(66, 78%, 73%) |
| CMYK | cmyk(8.1%, 0%, 78.5%, 27.1%) |
| CIE-LAB | lab(72.18, -22.61, 66.04) |
| CIE-LCH | lch(72.18, 69.80, 108.90°) |
| OKLab | oklab(75.24% -0.0692 0.1441) |
| OKLCH | oklch(75.24% 0.16 115.6) |
| XYZ | xyz(34.7375, 43.9295, 8.6564) |
| Luminance | 0.4393 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.52
Mustard Green
#A8B504
ΔE00 2.04
Pea
#A4BF20
ΔE00 2.53
Sick Green
#9DB92C
ΔE00 3.16
Gross Green
#A0BF16
ΔE00 3.20
Bright Olive
#9CBB04
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABBA28 #3728BA
analogous
#BA8028 #ABBA28 #62BA28
triadic
#ABBA28 #28ABBA #BA28AB
tetradic
#ABBA28 #28BA80 #3728BA #BA2862
square
#ABBA28 #28BA80 #3728BA #BA2862
split-complementary
#ABBA28 #2862BA #8028BA
monochromatic
#4E5512 #7D881D #ABBA28 #C9D848 #D8E27A
Accessibility & contrast
On white
2.15
#ABBA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#ABBA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABBA28
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABBA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABBA28 | 1.00 | 2.15 | 9.79 | 9.79 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B236
Tritanopia (blue-blind)
#B6AF9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #abba28; /* rgb */ color: rgb(171, 186, 40); /* oklch */ color: oklch(75.2% 0.160 115.6);
Tailwind
colors: {
custom: {
50: '#c8ce6f',
500: '#abba28',
950: '#000000',
},
}SCSS
$custom: #abba28; $custom-light: #c8ce6f; $custom-dark: #000000;
JSON
{
"hex": "#abba28",
"rgb": {
"r": 171,
"g": 186,
"b": 40
},
"hsl": {
"h": 66.164,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.75245,
"c": 0.15986,
"h": 115.6
},
"luminance": 0.43929
}Semantic roles & 50–950 ramp
primary
#ABBA28
secondary
#7C73CA
accent
#40E851
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B