#ABBF31#ABBF31
#ABBF31 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.4% C 0.161 H 117.5°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #ABBF31 |
|---|---|
| RGB | rgb(171, 191, 49) |
| HSL | hsl(68, 59%, 47%) |
| HSV | hsv(68, 74%, 75%) |
| CMYK | cmyk(10.5%, 0%, 74.3%, 25.1%) |
| CIE-LAB | lab(73.64, -24.67, 64.57) |
| CIE-LCH | lch(73.64, 69.12, 110.91°) |
| OKLab | oklab(76.43% -0.0741 0.1426) |
| OKLCH | oklch(76.43% 0.161 117.5) |
| XYZ | xyz(35.9806, 46.1417, 9.9159) |
| Luminance | 0.4614 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.58
Gross Green
#A0BF16
ΔE00 2.37
Snot
#ACBB0D
ΔE00 2.59
Sick Green
#9DB92C
ΔE00 2.69
Bright Olive
#9CBB04
ΔE00 2.95
Snot Green
#9DC100
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABBF31 #4531BF
analogous
#BF8C31 #ABBF31 #64BF31
triadic
#ABBF31 #31ABBF #BF31AB
tetradic
#ABBF31 #31BF8C #4531BF #BF3164
square
#ABBF31 #31BF8C #4531BF #BF3164
split-complementary
#ABBF31 #3164BF #8C31BF
monochromatic
#545E18 #7F8E25 #ABBF31 #C3D459 #D5E18A
Accessibility & contrast
On white
2.05
#ABBF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.23
#ABBF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABBF31
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABBF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABBF31 | 1.00 | 2.05 | 10.23 | 10.23 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB511
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#B6B4A4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #abbf31; /* rgb */ color: rgb(171, 191, 49); /* oklch */ color: oklch(76.4% 0.161 117.5);
Tailwind
colors: {
custom: {
50: '#c8d274',
500: '#abbf31',
950: '#000000',
},
}SCSS
$custom: #abbf31; $custom-light: #c8d274; $custom-dark: #000000;
JSON
{
"hex": "#abbf31",
"rgb": {
"r": 171,
"g": 191,
"b": 49
},
"hsl": {
"h": 68.451,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.7643,
"c": 0.16068,
"h": 117.5
},
"luminance": 0.46141
}Semantic roles & 50–950 ramp
primary
#ABBF31
secondary
#8B81CB
accent
#45E25C
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B