#ABB742#ABB742
#ABB742 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.8% C 0.140 H 114.8°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB742 |
|---|---|
| RGB | rgb(171, 183, 66) |
| HSL | hsl(66, 47%, 49%) |
| HSV | hsv(66, 64%, 72%) |
| CMYK | cmyk(6.6%, 0%, 63.9%, 28.2%) |
| CIE-LAB | lab(71.50, -19.76, 56.03) |
| CIE-LCH | lch(71.50, 59.41, 109.42°) |
| OKLab | oklab(74.75% -0.0589 0.1273) |
| OKLCH | oklch(74.75% 0.14 114.8) |
| XYZ | xyz(34.7123, 42.9188, 11.6088) |
| Luminance | 0.4292 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.36
Sick Green
#9DB92C
ΔE00 3.60
Mustard Green
#A8B504
ΔE00 4.12
Snot
#ACBB0D
ΔE00 4.19
Pea
#A4BF20
ΔE00 4.29
Puke Green
#9AAE07
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB742 #4E42B7
analogous
#B78942 #ABB742 #71B742
triadic
#ABB742 #42ABB7 #B742AB
tetradic
#ABB742 #42B789 #4E42B7 #B74271
square
#ABB742 #42B789 #4E42B7 #B74271
split-complementary
#ABB742 #4271B7 #8942B7
monochromatic
#575D22 #818A32 #ABB742 #C0CA6C #D4DA99
Accessibility & contrast
On white
2.19
#ABB742 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#ABB742 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB742
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB742 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB742 | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE33
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#B6AD9F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #abb742; /* rgb */ color: rgb(171, 183, 66); /* oklch */ color: oklch(74.8% 0.140 114.8);
Tailwind
colors: {
custom: {
50: '#c7cc7c',
500: '#abb742',
950: '#000000',
},
}SCSS
$custom: #abb742; $custom-light: #c7cc7c; $custom-dark: #000000;
JSON
{
"hex": "#abb742",
"rgb": {
"r": 171,
"g": 183,
"b": 66
},
"hsl": {
"h": 66.154,
"s": 46.988,
"l": 48.824
},
"oklch": {
"l": 0.7475,
"c": 0.14026,
"h": 114.8
},
"luminance": 0.42918
}Semantic roles & 50–950 ramp
primary
#ABB742
secondary
#948FC6
accent
#51D75F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C