#ABB331#ABB331
#ABB331 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.7% C 0.148 H 113.0°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB331 |
|---|---|
| RGB | rgb(171, 179, 49) |
| HSL | hsl(64, 57%, 45%) |
| HSV | hsv(64, 73%, 70%) |
| CMYK | cmyk(4.5%, 0%, 72.6%, 29.8%) |
| CIE-LAB | lab(70.26, -18.73, 61.35) |
| CIE-LCH | lch(70.26, 64.14, 106.98°) |
| OKLab | oklab(73.72% -0.0577 0.1358) |
| OKLCH | oklch(73.72% 0.148 113) |
| XYZ | xyz(33.4701, 41.1206, 9.0791) |
| Luminance | 0.4112 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.58
Snot
#ACBB0D
ΔE00 3.31
Puke Green
#9AAE07
ΔE00 3.60
Sick Green
#9DB92C
ΔE00 4.35
Vomit
#A2A415
ΔE00 4.51
Booger
#9BB53C
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB331 #3931B3
analogous
#B37A31 #ABB331 #6AB331
triadic
#ABB331 #31ABB3 #B331AB
tetradic
#ABB331 #31B37A #3931B3 #B3316A
square
#ABB331 #31B37A #3931B3 #B3316A
split-complementary
#ABB331 #316AB3 #7A31B3
monochromatic
#4F5317 #7D8324 #ABB331 #C8D052 #D7DD82
Accessibility & contrast
On white
2.28
#ABB331 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.22
#ABB331 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB331
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB331 | 1.00 | 2.28 | 9.22 | 9.22 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA18
Deuteranopia (green-blind)
#C1AD3B
Tritanopia (blue-blind)
#B7A89A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #abb331; /* rgb */ color: rgb(171, 179, 49); /* oklch */ color: oklch(73.7% 0.148 113.0);
Tailwind
colors: {
custom: {
50: '#c7c972',
500: '#abb331',
950: '#000000',
},
}SCSS
$custom: #abb331; $custom-light: #c7c972; $custom-dark: #000000;
JSON
{
"hex": "#abb331",
"rgb": {
"r": 171,
"g": 179,
"b": 49
},
"hsl": {
"h": 63.692,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.7372,
"c": 0.14751,
"h": 113
},
"luminance": 0.4112
}Semantic roles & 50–950 ramp
primary
#ABB331
secondary
#7F7AC6
accent
#48E051
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B