#ABBA31#ABBA31
#ABBA31 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.3% C 0.155 H 115.7°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #ABBA31 |
|---|---|
| RGB | rgb(171, 186, 49) |
| HSL | hsl(67, 58%, 46%) |
| HSV | hsv(67, 74%, 73%) |
| CMYK | cmyk(8.1%, 0%, 73.7%, 27.1%) |
| CIE-LAB | lab(72.23, -22.22, 63.23) |
| CIE-LCH | lch(72.23, 67.02, 109.36°) |
| OKLab | oklab(75.3% -0.0674 0.1397) |
| OKLCH | oklch(75.3% 0.155 115.7) |
| XYZ | xyz(34.9088, 43.9980, 9.5586) |
| Luminance | 0.4400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.25
Pea
#A4BF20
ΔE00 2.64
Mustard Green
#A8B504
ΔE00 2.64
Sick Green
#9DB92C
ΔE00 2.90
Gross Green
#A0BF16
ΔE00 3.34
Bright Olive
#9CBB04
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABBA31 #4031BA
analogous
#BA8431 #ABBA31 #66BA31
triadic
#ABBA31 #31ABBA #BA31AB
tetradic
#ABBA31 #31BA84 #4031BA #BA3166
square
#ABBA31 #31BA84 #4031BA #BA3166
split-complementary
#ABBA31 #3166BA #8431BA
monochromatic
#525917 #7E8A24 #ABBA31 #C5D256 #D5DF86
Accessibility & contrast
On white
2.14
#ABBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#ABBA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABBA31
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABBA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABBA31 | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B6AFA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #abba31; /* rgb */ color: rgb(171, 186, 49); /* oklch */ color: oklch(75.3% 0.155 115.7);
Tailwind
colors: {
custom: {
50: '#c7ce73',
500: '#abba31',
950: '#000000',
},
}SCSS
$custom: #abba31; $custom-light: #c7ce73; $custom-dark: #000000;
JSON
{
"hex": "#abba31",
"rgb": {
"r": 171,
"g": 186,
"b": 49
},
"hsl": {
"h": 66.569,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.75297,
"c": 0.15512,
"h": 115.7
},
"luminance": 0.43997
}Semantic roles & 50–950 ramp
primary
#ABBA31
secondary
#867EC9
accent
#46E257
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B