#ABBB21#ABBB21
#ABBB21 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.164 H 115.9°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #ABBB21 |
|---|---|
| RGB | rgb(171, 187, 33) |
| HSL | hsl(66, 70%, 43%) |
| HSV | hsv(66, 82%, 73%) |
| CMYK | cmyk(8.6%, 0%, 82.4%, 26.7%) |
| CIE-LAB | lab(72.43, -23.35, 68.17) |
| CIE-LCH | lch(72.43, 72.05, 108.91°) |
| OKLab | oklab(75.44% -0.0717 0.1475) |
| OKLCH | oklch(75.44% 0.164 115.9) |
| XYZ | xyz(34.8404, 44.3089, 8.1557) |
| Luminance | 0.4431 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.04
Mustard Green
#A8B504
ΔE00 1.94
Pea
#A4BF20
ΔE00 2.32
Bile
#B5C306
ΔE00 2.86
Gross Green
#A0BF16
ΔE00 2.96
Bright Olive
#9CBB04
ΔE00 3.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABBB21 #3121BB
analogous
#BB7E21 #ABBB21 #5EBB21
triadic
#ABBB21 #21ABBB #BB21AB
tetradic
#ABBB21 #21BB7E #3121BB #BB215E
square
#ABBB21 #21BB7E #3121BB #BB215E
split-complementary
#ABBB21 #215EBB #7E21BB
monochromatic
#4C530F #7B8718 #ABBB21 #CCDD3D #DAE671
Accessibility & contrast
On white
2.13
#ABBB21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#ABBB21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABBB21
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABBB21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABBB21 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C7B331
Tritanopia (blue-blind)
#B6B0A0
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #abbb21; /* rgb */ color: rgb(171, 187, 33); /* oklch */ color: oklch(75.4% 0.164 115.9);
Tailwind
colors: {
custom: {
50: '#c8cf6d',
500: '#abbb21',
950: '#000000',
},
}SCSS
$custom: #abbb21; $custom-light: #c8cf6d; $custom-dark: #000000;
JSON
{
"hex": "#abbb21",
"rgb": {
"r": 171,
"g": 187,
"b": 33
},
"hsl": {
"h": 66.234,
"s": 70,
"l": 43.137
},
"oklch": {
"l": 0.7544,
"c": 0.16398,
"h": 115.9
},
"luminance": 0.44308
}Semantic roles & 50–950 ramp
primary
#ABBB21
secondary
#756BCC
accent
#3BED4D
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B