#ABB12A#ABB12A
#ABB12A is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.149 H 112.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB12A |
|---|---|
| RGB | rgb(171, 177, 42) |
| HSL | hsl(63, 62%, 43%) |
| HSV | hsv(63, 76%, 69%) |
| CMYK | cmyk(3.4%, 0%, 76.3%, 30.6%) |
| CIE-LAB | lab(69.66, -18.04, 63.14) |
| CIE-LCH | lch(69.66, 65.66, 105.94°) |
| OKLab | oklab(73.23% -0.0564 0.1383) |
| OKLCH | oklch(73.23% 0.149 112.2) |
| XYZ | xyz(32.9357, 40.2702, 8.2280) |
| Luminance | 0.4027 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.44
Snot
#ACBB0D
ΔE00 3.48
Puke Green
#9AAE07
ΔE00 3.56
Vomit
#A2A415
ΔE00 3.80
Puke
#A5A502
ΔE00 3.88
Barf Green
#94AC02
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB12A #302AB1
analogous
#B1742A #ABB12A #67B12A
triadic
#ABB12A #2AABB1 #B12AAB
tetradic
#ABB12A #2AB174 #302AB1 #B12A67
square
#ABB12A #2AB174 #302AB1 #B12A67
split-complementary
#ABB12A #2A67B1 #742AB1
monochromatic
#4B4E13 #7B801E #ABB12A #CDD345 #DADF77
Accessibility & contrast
On white
2.32
#ABB12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#ABB12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB12A
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB12A | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA905
Deuteranopia (green-blind)
#BFAC36
Tritanopia (blue-blind)
#B7A698
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #abb12a; /* rgb */ color: rgb(171, 177, 42); /* oklch */ color: oklch(73.2% 0.149 112.2);
Tailwind
colors: {
custom: {
50: '#c8c86f',
500: '#abb12a',
950: '#000000',
},
}SCSS
$custom: #abb12a; $custom-light: #c8c86f; $custom-dark: #000000;
JSON
{
"hex": "#abb12a",
"rgb": {
"r": 171,
"g": 177,
"b": 42
},
"hsl": {
"h": 62.667,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.73228,
"c": 0.14935,
"h": 112.2
},
"luminance": 0.40269
}Semantic roles & 50–950 ramp
primary
#ABB12A
secondary
#7470C6
accent
#43E54A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B