#ABB942#ABB942
#ABB942 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.143 H 115.6°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB942 |
|---|---|
| RGB | rgb(171, 185, 66) |
| HSL | hsl(67, 47%, 49%) |
| HSV | hsv(67, 64%, 73%) |
| CMYK | cmyk(7.6%, 0%, 64.3%, 27.5%) |
| CIE-LAB | lab(72.06, -20.76, 56.62) |
| CIE-LCH | lch(72.06, 60.30, 110.13°) |
| OKLab | oklab(75.2% -0.0617 0.1285) |
| OKLCH | oklch(75.2% 0.143 115.6) |
| XYZ | xyz(35.1277, 43.7497, 11.7472) |
| Luminance | 0.4375 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.18
Sick Green
#9DB92C
ΔE00 3.22
Pea
#A4BF20
ΔE00 3.81
Snot
#ACBB0D
ΔE00 4.03
Mustard Green
#A8B504
ΔE00 4.17
Gross Green
#A0BF16
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB942 #5042B9
analogous
#B98C42 #ABB942 #70B942
triadic
#ABB942 #42ABB9 #B942AB
tetradic
#ABB942 #42B98C #5042B9 #B94270
square
#ABB942 #42B98C #5042B9 #B94270
split-complementary
#ABB942 #4270B9 #8C42B9
monochromatic
#585F22 #818C32 #ABB942 #C0CB6D #D3DB9A
Accessibility & contrast
On white
2.15
#ABB942 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#ABB942 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB942
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB942 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB942 | 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)
#C5B032
Deuteranopia (green-blind)
#C4B24A
Tritanopia (blue-blind)
#B5AFA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #abb942; /* rgb */ color: rgb(171, 185, 66); /* oklch */ color: oklch(75.2% 0.143 115.6);
Tailwind
colors: {
custom: {
50: '#c7cd7c',
500: '#abb942',
950: '#000000',
},
}SCSS
$custom: #abb942; $custom-light: #c7cd7c; $custom-dark: #000000;
JSON
{
"hex": "#abb942",
"rgb": {
"r": 171,
"g": 185,
"b": 66
},
"hsl": {
"h": 67.059,
"s": 47.41,
"l": 49.216
},
"oklch": {
"l": 0.752,
"c": 0.14257,
"h": 115.6
},
"luminance": 0.43749
}Semantic roles & 50–950 ramp
primary
#ABB942
secondary
#9690C7
accent
#51D761
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C