#ABBB42#ABBB42
#ABBB42 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.7% C 0.145 H 116.4°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #ABBB42 |
|---|---|
| RGB | rgb(171, 187, 66) |
| HSL | hsl(68, 48%, 50%) |
| HSV | hsv(68, 65%, 73%) |
| CMYK | cmyk(8.6%, 0%, 64.7%, 26.7%) |
| CIE-LAB | lab(72.62, -21.75, 57.21) |
| CIE-LCH | lch(72.62, 61.20, 110.81°) |
| OKLab | oklab(75.65% -0.0644 0.1298) |
| OKLCH | oklch(75.65% 0.145 116.4) |
| XYZ | xyz(35.5490, 44.5924, 11.8877) |
| Luminance | 0.4459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.96
Booger
#9BB53C
ΔE00 3.13
Pea
#A4BF20
ΔE00 3.39
Snot
#ACBB0D
ΔE00 3.97
Gross Green
#A0BF16
ΔE00 4.04
Mustard Green
#A8B504
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABBB42 #5242BB
analogous
#BB8F42 #ABBB42 #6FBB42
triadic
#ABBB42 #42ABBB #BB42AB
tetradic
#ABBB42 #42BB8F #5242BB #BB426F
square
#ABBB42 #42BB8F #5242BB #BB426F
split-complementary
#ABBB42 #426FBB #8F42BB
monochromatic
#586122 #828E32 #ABBB42 #C0CC6E #D3DC9C
Accessibility & contrast
On white
2.12
#ABBB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#ABBB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABBB42
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABBB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABBB42 | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B232
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#B5B1A2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #abbb42; /* rgb */ color: rgb(171, 187, 66); /* oklch */ color: oklch(75.7% 0.145 116.4);
Tailwind
colors: {
custom: {
50: '#c7cf7c',
500: '#abbb42',
950: '#000000',
},
}SCSS
$custom: #abbb42; $custom-light: #c7cf7c; $custom-dark: #000000;
JSON
{
"hex": "#abbb42",
"rgb": {
"r": 171,
"g": 187,
"b": 66
},
"hsl": {
"h": 67.934,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.75651,
"c": 0.14491,
"h": 116.4
},
"luminance": 0.44592
}Semantic roles & 50–950 ramp
primary
#ABBB42
secondary
#9891C8
accent
#50D762
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C