#ABB229#ABB229
#ABB229 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.151 H 112.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB229 |
|---|---|
| RGB | rgb(171, 178, 41) |
| HSL | hsl(63, 63%, 43%) |
| HSV | hsv(63, 77%, 70%) |
| CMYK | cmyk(3.9%, 0%, 77%, 30.2%) |
| CIE-LAB | lab(69.94, -18.58, 63.70) |
| CIE-LCH | lch(69.94, 66.36, 106.26°) |
| OKLab | oklab(73.45% -0.058 0.1393) |
| OKLCH | oklch(73.45% 0.151 112.6) |
| XYZ | xyz(33.1163, 40.6596, 8.2010) |
| Luminance | 0.4066 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.16
Snot
#ACBB0D
ΔE00 3.15
Puke Green
#9AAE07
ΔE00 3.45
Vomit
#A2A415
ΔE00 4.07
Puke
#A5A502
ΔE00 4.13
Barf Green
#94AC02
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB229 #3029B2
analogous
#B27529 #ABB229 #66B229
triadic
#ABB229 #29ABB2 #B229AB
tetradic
#ABB229 #29B275 #3029B2 #B22966
square
#ABB229 #29B275 #3029B2 #B22966
split-complementary
#ABB229 #2966B2 #7529B2
monochromatic
#4B4F12 #7B801E #ABB229 #CDD444 #DADF76
Accessibility & contrast
On white
2.30
#ABB229 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#ABB229 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB229
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB229 | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A901
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#B7A799
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #abb229; /* rgb */ color: rgb(171, 178, 41); /* oklch */ color: oklch(73.4% 0.151 112.6);
Tailwind
colors: {
custom: {
50: '#c8c86f',
500: '#abb229',
950: '#000000',
},
}SCSS
$custom: #abb229; $custom-light: #c8c86f; $custom-dark: #000000;
JSON
{
"hex": "#abb229",
"rgb": {
"r": 171,
"g": 178,
"b": 41
},
"hsl": {
"h": 63.066,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.73447,
"c": 0.15091,
"h": 112.6
},
"luminance": 0.40659
}Semantic roles & 50–950 ramp
primary
#ABB229
secondary
#7470C7
accent
#42E64B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B