#ABBF42#ABBF42
#ABBF42 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.6% C 0.150 H 117.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #ABBF42 |
|---|---|
| RGB | rgb(171, 191, 66) |
| HSL | hsl(70, 49%, 50%) |
| HSV | hsv(70, 65%, 75%) |
| CMYK | cmyk(10.5%, 0%, 65.4%, 25.1%) |
| CIE-LAB | lab(73.75, -23.72, 58.39) |
| CIE-LCH | lch(73.75, 63.02, 112.11°) |
| OKLab | oklab(76.55% -0.0699 0.1323) |
| OKLCH | oklch(76.55% 0.15 117.9) |
| XYZ | xyz(36.4095, 46.3132, 12.1745) |
| Luminance | 0.4631 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.80
Pea
#A4BF20
ΔE00 2.82
Booger
#9BB53C
ΔE00 3.40
Gross Green
#A0BF16
ΔE00 3.44
Bright Olive
#9CBB04
ΔE00 4.01
Snot
#ACBB0D
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABBF42 #5642BF
analogous
#BF9442 #ABBF42 #6CBF42
triadic
#ABBF42 #42ABBF #BF42AB
tetradic
#ABBF42 #42BF94 #5642BF #BF426C
square
#ABBF42 #42BF94 #5642BF #BF426C
split-complementary
#ABBF42 #426CBF #9442BF
monochromatic
#5A6522 #839232 #ABBF42 #BFCE70 #D4DE9D
Accessibility & contrast
On white
2.05
#ABBF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#ABBF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABBF42
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABBF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABBF42 | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB531
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#B5B5A5
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #abbf42; /* rgb */ color: rgb(171, 191, 66); /* oklch */ color: oklch(76.6% 0.150 117.9);
Tailwind
colors: {
custom: {
50: '#c7d27d',
500: '#abbf42',
950: '#000000',
},
}SCSS
$custom: #abbf42; $custom-light: #c7d27d; $custom-dark: #000000;
JSON
{
"hex": "#abbf42",
"rgb": {
"r": 171,
"g": 191,
"b": 66
},
"hsl": {
"h": 69.6,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.76554,
"c": 0.14962,
"h": 117.9
},
"luminance": 0.46313
}Semantic roles & 50–950 ramp
primary
#ABBF42
secondary
#9B93CA
accent
#4FD965
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C