#ABB940#ABB940
#ABB940 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.144 H 115.6°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB940 |
|---|---|
| RGB | rgb(171, 185, 64) |
| HSL | hsl(67, 49%, 49%) |
| HSV | hsv(67, 65%, 73%) |
| CMYK | cmyk(7.6%, 0%, 65.4%, 27.5%) |
| CIE-LAB | lab(72.05, -20.89, 57.42) |
| CIE-LCH | lch(72.05, 61.10, 109.99°) |
| OKLab | oklab(75.18% -0.0622 0.13) |
| OKLCH | oklch(75.18% 0.144 115.6) |
| XYZ | xyz(35.0698, 43.7265, 11.4421) |
| Luminance | 0.4373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 3.14
Booger
#9BB53C
ΔE00 3.23
Pea
#A4BF20
ΔE00 3.65
Snot
#ACBB0D
ΔE00 3.80
Mustard Green
#A8B504
ΔE00 3.95
Gross Green
#A0BF16
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB940 #4E40B9
analogous
#B98B40 #ABB940 #6FB940
triadic
#ABB940 #40ABB9 #B940AB
tetradic
#ABB940 #40B98B #4E40B9 #B9406F
square
#ABB940 #40B98B #4E40B9 #B9406F
split-complementary
#ABB940 #406FB9 #8B40B9
monochromatic
#575E21 #818C30 #ABB940 #C0CC6B #D4DB98
Accessibility & contrast
On white
2.15
#ABB940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#ABB940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB940
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB940 | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#C5B248
Tritanopia (blue-blind)
#B5AFA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #abb940; /* rgb */ color: rgb(171, 185, 64); /* oklch */ color: oklch(75.2% 0.144 115.6);
Tailwind
colors: {
custom: {
50: '#c7cd7b',
500: '#abb940',
950: '#000000',
},
}SCSS
$custom: #abb940; $custom-light: #c7cd7b; $custom-dark: #000000;
JSON
{
"hex": "#abb940",
"rgb": {
"r": 171,
"g": 185,
"b": 64
},
"hsl": {
"h": 66.942,
"s": 48.594,
"l": 48.824
},
"oklch": {
"l": 0.75183,
"c": 0.14409,
"h": 115.6
},
"luminance": 0.43726
}Semantic roles & 50–950 ramp
primary
#ABB940
secondary
#948EC7
accent
#50D85F
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C