#2C8C1C#2C8C1C
#2C8C1C is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.170 H 141.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C8C1C |
|---|---|
| RGB | rgb(44, 140, 28) |
| HSL | hsl(111, 67%, 33%) |
| HSV | hsv(111, 80%, 55%) |
| CMYK | cmyk(68.6%, 0%, 80%, 45.1%) |
| CIE-LAB | lab(51.12, -48.45, 47.74) |
| CIE-LCH | lch(51.12, 68.02, 135.43°) |
| OKLab | oklab(56.27% -0.1324 0.1066) |
| OKLCH | oklch(56.27% 0.17 141.2) |
| XYZ | xyz(10.6258, 19.3744, 4.2780) |
| Luminance | 0.1938 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.30
Emerald Green
#028F1E
ΔE00 2.13
True Green
#089404
ΔE00 3.28
Irish Green
#019529
ΔE00 3.75
Kelley Green
#009337
ΔE00 4.70
Dark Grass Green
#388004
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C8C1C #7C1C8C
analogous
#648C1C #2C8C1C #1C8C44
triadic
#2C8C1C #1C2C8C #8C1C2C
tetradic
#2C8C1C #1C648C #7C1C8C #8C441C
square
#2C8C1C #1C648C #7C1C8C #8C441C
split-complementary
#2C8C1C #441C8C #8C1C64
monochromatic
#0C2608 #1C5912 #2C8C1C #3CBF26 #5DDA48
Accessibility & contrast
On white
4.31
#2C8C1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#2C8C1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C8C1C
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C8C1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C8C1C | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#188777
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2c8c1c; /* rgb */ color: rgb(44, 140, 28); /* oklch */ color: oklch(56.3% 0.170 141.2);
Tailwind
colors: {
custom: {
50: '#74af62',
500: '#2c8c1c',
950: '#000000',
},
}SCSS
$custom: #2c8c1c; $custom-light: #74af62; $custom-dark: #000000;
JSON
{
"hex": "#2c8c1c",
"rgb": {
"r": 44,
"g": 140,
"b": 28
},
"hsl": {
"h": 111.429,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.56273,
"c": 0.16997,
"h": 141.2
},
"luminance": 0.19375
}Semantic roles & 50–950 ramp
primary
#2C8C1C
secondary
#AC48BC
accent
#3EEAD1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A