#ABB931#ABB931
#ABB931 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.1% C 0.154 H 115.4°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB931 |
|---|---|
| RGB | rgb(171, 185, 49) |
| HSL | hsl(66, 58%, 46%) |
| HSV | hsv(66, 74%, 73%) |
| CMYK | cmyk(7.6%, 0%, 73.5%, 27.5%) |
| CIE-LAB | lab(71.95, -21.72, 62.96) |
| CIE-LCH | lch(71.95, 66.60, 109.04°) |
| OKLab | oklab(75.07% -0.066 0.1392) |
| OKLCH | oklch(75.07% 0.154 115.4) |
| XYZ | xyz(34.6989, 43.5782, 9.4887) |
| Luminance | 0.4358 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.30
Mustard Green
#A8B504
ΔE00 2.52
Pea
#A4BF20
ΔE00 2.91
Sick Green
#9DB92C
ΔE00 3.05
Gross Green
#A0BF16
ΔE00 3.59
Bright Olive
#9CBB04
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB931 #3F31B9
analogous
#B98331 #ABB931 #67B931
triadic
#ABB931 #31ABB9 #B931AB
tetradic
#ABB931 #31B983 #3F31B9 #B93167
square
#ABB931 #31B983 #3F31B9 #B93167
split-complementary
#ABB931 #3167B9 #8331B9
monochromatic
#525817 #7E8924 #ABB931 #C5D255 #D6DF86
Accessibility & contrast
On white
2.16
#ABB931 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#ABB931 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB931
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB931 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB931 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF15
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#B6AE9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #abb931; /* rgb */ color: rgb(171, 185, 49); /* oklch */ color: oklch(75.1% 0.154 115.4);
Tailwind
colors: {
custom: {
50: '#c7cd73',
500: '#abb931',
950: '#000000',
},
}SCSS
$custom: #abb931; $custom-light: #c7cd73; $custom-dark: #000000;
JSON
{
"hex": "#abb931",
"rgb": {
"r": 171,
"g": 185,
"b": 49
},
"hsl": {
"h": 66.176,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.75071,
"c": 0.15403,
"h": 115.4
},
"luminance": 0.43578
}Semantic roles & 50–950 ramp
primary
#ABB931
secondary
#857DC8
accent
#46E156
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B