#2C8C23#2C8C23
#2C8C23 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.166 H 141.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C8C23 |
|---|---|
| RGB | rgb(44, 140, 35) |
| HSL | hsl(115, 60%, 34%) |
| HSV | hsv(115, 75%, 55%) |
| CMYK | cmyk(68.6%, 0%, 75%, 45.1%) |
| CIE-LAB | lab(51.17, -47.93, 45.29) |
| CIE-LCH | lch(51.17, 65.95, 136.62°) |
| OKLab | oklab(56.32% -0.1306 0.1025) |
| OKLCH | oklch(56.32% 0.166 141.9) |
| XYZ | xyz(10.7196, 19.4119, 4.7717) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.84
Emerald Green
#028F1E
ΔE00 1.98
Irish Green
#019529
ΔE00 3.48
True Green
#089404
ΔE00 3.67
Kelley Green
#009337
ΔE00 4.10
Tree Green
#2A7E19
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C8C23 #83238C
analogous
#618C23 #2C8C23 #238C4F
triadic
#2C8C23 #232C8C #8C232C
tetradic
#2C8C23 #23618C #83238C #8C4F23
square
#2C8C23 #23618C #83238C #8C4F23
split-complementary
#2C8C23 #4F238C #8C2361
monochromatic
#0D2A0B #1D5B17 #2C8C23 #3BBD2F #60D455
Accessibility & contrast
On white
4.30
#2C8C23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#2C8C23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C8C23
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C8C23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C8C23 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 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)
#8F7F0F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#178878
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2c8c23; /* rgb */ color: rgb(44, 140, 35); /* oklch */ color: oklch(56.3% 0.166 141.9);
Tailwind
colors: {
custom: {
50: '#73af65',
500: '#2c8c23',
950: '#000000',
},
}SCSS
$custom: #2c8c23; $custom-light: #73af65; $custom-dark: #000000;
JSON
{
"hex": "#2c8c23",
"rgb": {
"r": 44,
"g": 140,
"b": 35
},
"hsl": {
"h": 114.857,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.56323,
"c": 0.16603,
"h": 141.9
},
"luminance": 0.19413
}Semantic roles & 50–950 ramp
primary
#2C8C23
secondary
#B052B8
accent
#45E3D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A