#2C8F22#2C8F22
#2C8F22 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.170 H 141.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C8F22 |
|---|---|
| RGB | rgb(44, 143, 34) |
| HSL | hsl(114, 62%, 35%) |
| HSV | hsv(114, 76%, 56%) |
| CMYK | cmyk(69.2%, 0%, 76.2%, 43.9%) |
| CIE-LAB | lab(52.17, -49.07, 46.67) |
| CIE-LCH | lch(52.17, 67.72, 136.44°) |
| OKLab | oklab(57.15% -0.1338 0.1052) |
| OKLCH | oklch(57.15% 0.17 141.8) |
| XYZ | xyz(11.1493, 20.2947, 4.8428) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.71
Emerald Green
#028F1E
ΔE00 1.80
Irish Green
#019529
ΔE00 2.76
True Green
#089404
ΔE00 2.81
Kelley Green
#009337
ΔE00 3.88
Grass Green
#3F9B0B
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C8F22 #85228F
analogous
#638F22 #2C8F22 #228F4E
triadic
#2C8F22 #222C8F #8F222C
tetradic
#2C8F22 #22638F #85228F #8F4E22
square
#2C8F22 #22638F #85228F #8F4E22
split-complementary
#2C8F22 #4E228F #8F2263
monochromatic
#0E2C0A #1D5E16 #2C8F22 #3BC02E #61D755
Accessibility & contrast
On white
4.15
#2C8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#2C8F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C8F22
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C8F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C8F22 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93810C
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#158A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2c8f22; /* rgb */ color: rgb(44, 143, 34); /* oklch */ color: oklch(57.2% 0.170 141.8);
Tailwind
colors: {
custom: {
50: '#74b165',
500: '#2c8f22',
950: '#000000',
},
}SCSS
$custom: #2c8f22; $custom-light: #74b165; $custom-dark: #000000;
JSON
{
"hex": "#2c8f22",
"rgb": {
"r": 44,
"g": 143,
"b": 34
},
"hsl": {
"h": 114.495,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.57152,
"c": 0.17019,
"h": 141.8
},
"luminance": 0.20296
}Semantic roles & 50–950 ramp
primary
#2C8F22
secondary
#B152BA
accent
#43E5D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A