#ABB540#ABB540
#ABB540 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.140 H 114.0°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB540 |
|---|---|
| RGB | rgb(171, 181, 64) |
| HSL | hsl(65, 48%, 48%) |
| HSV | hsv(65, 65%, 71%) |
| CMYK | cmyk(5.5%, 0%, 64.6%, 29%) |
| CIE-LAB | lab(70.92, -18.89, 56.25) |
| CIE-LCH | lch(70.92, 59.34, 108.56°) |
| OKLab | oklab(74.28% -0.0566 0.1275) |
| OKLCH | oklch(74.28% 0.14 114) |
| XYZ | xyz(34.2447, 42.0765, 11.1671) |
| Luminance | 0.4208 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.69
Mustard Green
#A8B504
ΔE00 3.93
Sick Green
#9DB92C
ΔE00 3.97
Snot
#ACBB0D
ΔE00 4.23
Puke Green
#9AAE07
ΔE00 4.42
Pea
#A4BF20
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB540 #4A40B5
analogous
#B58440 #ABB540 #70B540
triadic
#ABB540 #40ABB5 #B540AB
tetradic
#ABB540 #40B584 #4A40B5 #B54070
square
#ABB540 #40B584 #4A40B5 #B54070
split-complementary
#ABB540 #4070B5 #8440B5
monochromatic
#565B20 #808830 #ABB540 #C1CA68 #D4DA96
Accessibility & contrast
On white
2.23
#ABB540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#ABB540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB540
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB540 | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC30
Deuteranopia (green-blind)
#C1AF48
Tritanopia (blue-blind)
#B6AB9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #abb540; /* rgb */ color: rgb(171, 181, 64); /* oklch */ color: oklch(74.3% 0.140 114.0);
Tailwind
colors: {
custom: {
50: '#c7cb7b',
500: '#abb540',
950: '#000000',
},
}SCSS
$custom: #abb540; $custom-light: #c7cb7b; $custom-dark: #000000;
JSON
{
"hex": "#abb540",
"rgb": {
"r": 171,
"g": 181,
"b": 64
},
"hsl": {
"h": 65.128,
"s": 47.755,
"l": 48.039
},
"oklch": {
"l": 0.74284,
"c": 0.1395,
"h": 114
},
"luminance": 0.42076
}Semantic roles & 50–950 ramp
primary
#ABB540
secondary
#908BC5
accent
#50D75C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C