#ABB12B#ABB12B
#ABB12B 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.06:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB12B |
|---|---|
| RGB | rgb(171, 177, 43) |
| HSL | hsl(63, 61%, 43%) |
| HSV | hsv(63, 76%, 69%) |
| CMYK | cmyk(3.4%, 0%, 75.7%, 30.6%) |
| CIE-LAB | lab(69.67, -17.99, 62.82) |
| CIE-LCH | lch(69.67, 65.35, 105.98°) |
| OKLab | oklab(73.23% -0.0562 0.1378) |
| OKLCH | oklch(73.23% 0.149 112.2) |
| XYZ | xyz(32.9539, 40.2774, 8.3234) |
| Luminance | 0.4028 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.50
Snot
#ACBB0D
ΔE00 3.52
Puke Green
#9AAE07
ΔE00 3.58
Vomit
#A2A415
ΔE00 3.82
Puke
#A5A502
ΔE00 3.92
Barf Green
#94AC02
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB12B #312BB1
analogous
#B1742B #ABB12B #68B12B
triadic
#ABB12B #2BABB1 #B12BAB
tetradic
#ABB12B #2BB174 #312BB1 #B12B68
square
#ABB12B #2BB174 #312BB1 #B12B68
split-complementary
#ABB12B #2B68B1 #742BB1
monochromatic
#4C4F13 #7B801F #ABB12B #CCD247 #DADE78
Accessibility & contrast
On white
2.32
#ABB12B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#ABB12B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB12B
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB12B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB12B | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA909
Deuteranopia (green-blind)
#BFAC36
Tritanopia (blue-blind)
#B7A698
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #abb12b; /* rgb */ color: rgb(171, 177, 43); /* oklch */ color: oklch(73.2% 0.149 112.2);
Tailwind
colors: {
custom: {
50: '#c8c86f',
500: '#abb12b',
950: '#000000',
},
}SCSS
$custom: #abb12b; $custom-light: #c8c86f; $custom-dark: #000000;
JSON
{
"hex": "#abb12b",
"rgb": {
"r": 171,
"g": 177,
"b": 43
},
"hsl": {
"h": 62.687,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.73234,
"c": 0.14882,
"h": 112.2
},
"luminance": 0.40277
}Semantic roles & 50–950 ramp
primary
#ABB12B
secondary
#7572C6
accent
#44E44B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B