#ABB227#ABB227
#ABB227 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.152 H 112.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB227 |
|---|---|
| RGB | rgb(171, 178, 39) |
| HSL | hsl(63, 64%, 43%) |
| HSV | hsv(63, 78%, 70%) |
| CMYK | cmyk(3.9%, 0%, 78.1%, 30.2%) |
| CIE-LAB | lab(69.93, -18.66, 64.31) |
| CIE-LCH | lch(69.93, 66.96, 106.18°) |
| OKLab | oklab(73.44% -0.0583 0.1403) |
| OKLCH | oklch(73.44% 0.152 112.6) |
| XYZ | xyz(33.0823, 40.6460, 8.0218) |
| Luminance | 0.4064 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.04
Snot
#ACBB0D
ΔE00 3.07
Puke Green
#9AAE07
ΔE00 3.43
Vomit
#A2A415
ΔE00 4.04
Puke
#A5A502
ΔE00 4.07
Barf Green
#94AC02
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB227 #2E27B2
analogous
#B27427 #ABB227 #65B227
triadic
#ABB227 #27ABB2 #B227AB
tetradic
#ABB227 #27B274 #2E27B2 #B22765
square
#ABB227 #27B274 #2E27B2 #B22765
split-complementary
#ABB227 #2765B2 #7427B2
monochromatic
#4B4E11 #7B801C #ABB227 #CED541 #DBE073
Accessibility & contrast
On white
2.30
#ABB227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#ABB227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB227
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB227 | 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)
#C0A900
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#B7A798
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #abb227; /* rgb */ color: rgb(171, 178, 39); /* oklch */ color: oklch(73.4% 0.152 112.6);
Tailwind
colors: {
custom: {
50: '#c8c86e',
500: '#abb227',
950: '#000000',
},
}SCSS
$custom: #abb227; $custom-light: #c8c86e; $custom-dark: #000000;
JSON
{
"hex": "#abb227",
"rgb": {
"r": 171,
"g": 178,
"b": 39
},
"hsl": {
"h": 63.022,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.73436,
"c": 0.1519,
"h": 112.6
},
"luminance": 0.40645
}Semantic roles & 50–950 ramp
primary
#ABB227
secondary
#726DC8
accent
#41E749
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B