#ABBA2B#ABBA2B
#ABBA2B is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.3% C 0.158 H 115.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #ABBA2B |
|---|---|
| RGB | rgb(171, 186, 43) |
| HSL | hsl(66, 62%, 45%) |
| HSV | hsv(66, 77%, 73%) |
| CMYK | cmyk(8.1%, 0%, 76.9%, 27.1%) |
| CIE-LAB | lab(72.20, -22.49, 65.15) |
| CIE-LCH | lch(72.20, 68.92, 109.04°) |
| OKLab | oklab(75.26% -0.0686 0.1427) |
| OKLCH | oklch(75.26% 0.158 115.7) |
| XYZ | xyz(34.7905, 43.9507, 8.9356) |
| Luminance | 0.4395 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.75
Mustard Green
#A8B504
ΔE00 2.22
Pea
#A4BF20
ΔE00 2.54
Sick Green
#9DB92C
ΔE00 3.06
Gross Green
#A0BF16
ΔE00 3.22
Bright Olive
#9CBB04
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABBA2B #3A2BBA
analogous
#BA822B #ABBA2B #63BA2B
triadic
#ABBA2B #2BABBA #BA2BAB
tetradic
#ABBA2B #2BBA82 #3A2BBA #BA2B63
square
#ABBA2B #2BBA82 #3A2BBA #BA2B63
split-complementary
#ABBA2B #2B63BA #822BBA
monochromatic
#505714 #7D8820 #ABBA2B #C7D64C #D7E17E
Accessibility & contrast
On white
2.15
#ABBA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#ABBA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABBA2B
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABBA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABBA2B | 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)
#C7B001
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#B6AF9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #abba2b; /* rgb */ color: rgb(171, 186, 43); /* oklch */ color: oklch(75.3% 0.158 115.7);
Tailwind
colors: {
custom: {
50: '#c8ce70',
500: '#abba2b',
950: '#000000',
},
}SCSS
$custom: #abba2b; $custom-light: #c8ce70; $custom-dark: #000000;
JSON
{
"hex": "#abba2b",
"rgb": {
"r": 171,
"g": 186,
"b": 43
},
"hsl": {
"h": 66.294,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.75261,
"c": 0.15839,
"h": 115.7
},
"luminance": 0.4395
}Semantic roles & 50–950 ramp
primary
#ABBA2B
secondary
#8077CA
accent
#42E653
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B