#ABB542#ABB542
#ABB542 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.138 H 114.0°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB542 |
|---|---|
| RGB | rgb(171, 181, 66) |
| HSL | hsl(65, 47%, 48%) |
| HSV | hsv(65, 64%, 71%) |
| CMYK | cmyk(5.5%, 0%, 63.5%, 29%) |
| CIE-LAB | lab(70.94, -18.75, 55.43) |
| CIE-LCH | lch(70.94, 58.52, 108.69°) |
| OKLab | oklab(74.3% -0.0561 0.126) |
| OKLCH | oklch(74.3% 0.138 114) |
| XYZ | xyz(34.3027, 42.0996, 11.4722) |
| Luminance | 0.4210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.66
Sick Green
#9DB92C
ΔE00 4.05
Mustard Green
#A8B504
ΔE00 4.16
Snot
#ACBB0D
ΔE00 4.45
Puke Green
#9AAE07
ΔE00 4.58
Pea
#A4BF20
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB542 #4C42B5
analogous
#B58542 #ABB542 #71B542
triadic
#ABB542 #42ABB5 #B542AB
tetradic
#ABB542 #42B585 #4C42B5 #B54271
square
#ABB542 #42B585 #4C42B5 #B54271
split-complementary
#ABB542 #4271B5 #8542B5
monochromatic
#565B21 #818832 #ABB542 #C1C96B #D4D998
Accessibility & contrast
On white
2.23
#ABB542 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#ABB542 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB542
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB542 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB542 | 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)
#C2AD33
Deuteranopia (green-blind)
#C1AF4A
Tritanopia (blue-blind)
#B6AB9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #abb542; /* rgb */ color: rgb(171, 181, 66); /* oklch */ color: oklch(74.3% 0.138 114.0);
Tailwind
colors: {
custom: {
50: '#c7cb7c',
500: '#abb542',
950: '#000000',
},
}SCSS
$custom: #abb542; $custom-light: #c7cb7c; $custom-dark: #000000;
JSON
{
"hex": "#abb542",
"rgb": {
"r": 171,
"g": 181,
"b": 66
},
"hsl": {
"h": 65.217,
"s": 46.559,
"l": 48.431
},
"oklch": {
"l": 0.74302,
"c": 0.13795,
"h": 114
},
"luminance": 0.42099
}Semantic roles & 50–950 ramp
primary
#ABB542
secondary
#928EC5
accent
#52D65D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C