#8CA122#8CA122
#8CA122 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.0% C 0.146 H 119.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8CA122 |
|---|---|
| RGB | rgb(140, 161, 34) |
| HSL | hsl(70, 65%, 38%) |
| HSV | hsv(70, 79%, 63%) |
| CMYK | cmyk(13%, 0%, 78.9%, 36.9%) |
| CIE-LAB | lab(62.66, -23.68, 58.37) |
| CIE-LCH | lch(62.66, 62.99, 112.09°) |
| OKLab | oklab(67% -0.071 0.1279) |
| OKLCH | oklch(67% 0.146 119) |
| XYZ | xyz(23.8493, 31.1808, 6.2752) |
| Luminance | 0.3118 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Green
#89A203
ΔE00 1.69
Pea Soup Green
#94A617
ΔE00 2.35
Avocado Green
#87A922
ΔE00 3.14
Baby Shit Green
#889717
ΔE00 3.22
Pea Green
#8EAB12
ΔE00 3.29
Barf Green
#94AC02
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8CA122 #3722A1
analogous
#A17622 #8CA122 #4DA122
triadic
#8CA122 #228CA1 #A1228C
tetradic
#8CA122 #22A176 #3722A1 #A1224D
square
#8CA122 #22A176 #3722A1 #A1224D
split-complementary
#8CA122 #224DA1 #7622A1
monochromatic
#343C0D #606E17 #8CA122 #B7D32D #C9DD60
Accessibility & contrast
On white
2.90
#8CA122 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#8CA122 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8CA122
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8CA122 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8CA122 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#95988A
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #8ca122; /* rgb */ color: rgb(140, 161, 34); /* oklch */ color: oklch(67.0% 0.146 119.0);
Tailwind
colors: {
custom: {
50: '#b1bc69',
500: '#8ca122',
950: '#000000',
},
}SCSS
$custom: #8ca122; $custom-light: #b1bc69; $custom-dark: #000000;
JSON
{
"hex": "#8ca122",
"rgb": {
"r": 140,
"g": 161,
"b": 34
},
"hsl": {
"h": 69.921,
"s": 65.128,
"l": 38.235
},
"oklch": {
"l": 0.67002,
"c": 0.14622,
"h": 119
},
"luminance": 0.31181
}Semantic roles & 50–950 ramp
primary
#8CA122
secondary
#6D5DC2
accent
#40E85C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A