#ABB938#ABB938
#ABB938 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.1% C 0.150 H 115.5°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB938 |
|---|---|
| RGB | rgb(171, 185, 56) |
| HSL | hsl(67, 54%, 47%) |
| HSV | hsv(67, 70%, 73%) |
| CMYK | cmyk(7.6%, 0%, 69.7%, 27.5%) |
| CIE-LAB | lab(71.99, -21.36, 60.49) |
| CIE-LCH | lch(71.99, 64.15, 109.45°) |
| OKLab | oklab(75.12% -0.0644 0.1352) |
| OKLCH | oklch(75.12% 0.15 115.5) |
| XYZ | xyz(34.8582, 43.6419, 10.3280) |
| Luminance | 0.4364 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.96
Sick Green
#9DB92C
ΔE00 2.99
Mustard Green
#A8B504
ΔE00 3.13
Pea
#A4BF20
ΔE00 3.16
Booger
#9BB53C
ΔE00 3.56
Gross Green
#A0BF16
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB938 #4638B9
analogous
#B98738 #ABB938 #6AB938
triadic
#ABB938 #38ABB9 #B938AB
tetradic
#ABB938 #38B987 #4638B9 #B9386A
square
#ABB938 #38B987 #4638B9 #B9386A
split-complementary
#ABB938 #386AB9 #8738B9
monochromatic
#545B1C #808A2A #ABB938 #C3CF5F #D4DD8E
Accessibility & contrast
On white
2.16
#ABB938 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#ABB938 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB938
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB938 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB938 | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B023
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#B6AEA0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #abb938; /* rgb */ color: rgb(171, 185, 56); /* oklch */ color: oklch(75.1% 0.150 115.5);
Tailwind
colors: {
custom: {
50: '#c7cd77',
500: '#abb938',
950: '#000000',
},
}SCSS
$custom: #abb938; $custom-light: #c7cd77; $custom-dark: #000000;
JSON
{
"hex": "#abb938",
"rgb": {
"r": 171,
"g": 185,
"b": 56
},
"hsl": {
"h": 66.512,
"s": 53.527,
"l": 47.255
},
"oklch": {
"l": 0.75119,
"c": 0.14969,
"h": 115.5
},
"luminance": 0.43641
}Semantic roles & 50–950 ramp
primary
#ABB938
secondary
#8C85C8
accent
#4BDD5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#131309
muted
#82827B