#ABBA2D#ABBA2D
#ABBA2D is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.3% C 0.157 H 115.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #ABBA2D |
|---|---|
| RGB | rgb(171, 186, 45) |
| HSL | hsl(66, 61%, 45%) |
| HSV | hsv(66, 76%, 73%) |
| CMYK | cmyk(8.1%, 0%, 75.8%, 27.1%) |
| CIE-LAB | lab(72.21, -22.40, 64.53) |
| CIE-LCH | lch(72.21, 68.31, 109.15°) |
| OKLab | oklab(75.27% -0.0682 0.1418) |
| OKLCH | oklch(75.27% 0.157 115.7) |
| XYZ | xyz(34.8281, 43.9658, 9.1336) |
| Luminance | 0.4396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.91
Mustard Green
#A8B504
ΔE00 2.35
Pea
#A4BF20
ΔE00 2.56
Sick Green
#9DB92C
ΔE00 3.00
Gross Green
#A0BF16
ΔE00 3.25
Bright Olive
#9CBB04
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABBA2D #3C2DBA
analogous
#BA822D #ABBA2D #64BA2D
triadic
#ABBA2D #2DABBA #BA2DAB
tetradic
#ABBA2D #2DBA82 #3C2DBA #BA2D64
square
#ABBA2D #2DBA82 #3C2DBA #BA2D64
split-complementary
#ABBA2D #2D64BA #822DBA
monochromatic
#505715 #7E8921 #ABBA2D #C6D550 #D6E081
Accessibility & contrast
On white
2.14
#ABBA2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#ABBA2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABBA2D
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABBA2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABBA2D | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 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)
#C7B008
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#B6AFA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #abba2d; /* rgb */ color: rgb(171, 186, 45); /* oklch */ color: oklch(75.3% 0.157 115.7);
Tailwind
colors: {
custom: {
50: '#c8ce71',
500: '#abba2d',
950: '#000000',
},
}SCSS
$custom: #abba2d; $custom-light: #c8ce71; $custom-dark: #000000;
JSON
{
"hex": "#abba2d",
"rgb": {
"r": 171,
"g": 186,
"b": 45
},
"hsl": {
"h": 66.383,
"s": 61.039,
"l": 45.294
},
"oklch": {
"l": 0.75273,
"c": 0.15735,
"h": 115.7
},
"luminance": 0.43965
}Semantic roles & 50–950 ramp
primary
#ABBA2D
secondary
#8279C9
accent
#44E455
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B