#2C8F2C#2C8F2C
#2C8F2C is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.164 H 143.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C8F2C |
|---|---|
| RGB | rgb(44, 143, 44) |
| HSL | hsl(120, 53%, 37%) |
| HSV | hsv(120, 69%, 56%) |
| CMYK | cmyk(69.2%, 0%, 69.2%, 43.9%) |
| CIE-LAB | lab(52.24, -48.18, 42.77) |
| CIE-LCH | lch(52.24, 64.43, 138.40°) |
| OKLab | oklab(57.24% -0.1308 0.0984) |
| OKLCH | oklch(57.24% 0.164 143.1) |
| XYZ | xyz(11.3151, 20.3611, 5.7161) |
| Luminance | 0.2036 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.79
Emerald Green
#028F1E
ΔE00 2.04
Irish Green
#019529
ΔE00 2.52
Kelley Green
#009337
ΔE00 2.89
True Green
#089404
ΔE00 3.77
Fern Green
#548D44
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C8F2C #8F2C8F
analogous
#5E8F2C #2C8F2C #2C8F5E
triadic
#2C8F2C #2C2C8F #8F2C2C
tetradic
#2C8F2C #2C5E8F #8F2C8F #8F5E2C
square
#2C8F2C #2C5E8F #8F2C8F #8F5E2C
split-complementary
#2C8F2C #5E2C8F #8F2C5E
monochromatic
#0F310F #1E601E #2C8F2C #3ABE3A #66D066
Accessibility & contrast
On white
4.14
#2C8F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#2C8F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C8F2C
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C8F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C8F2C | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#867A35
Tritanopia (blue-blind)
#128B7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2c8f2c; /* rgb */ color: rgb(44, 143, 44); /* oklch */ color: oklch(57.2% 0.164 143.1);
Tailwind
colors: {
custom: {
50: '#74b16a',
500: '#2c8f2c',
950: '#000000',
},
}SCSS
$custom: #2c8f2c; $custom-light: #74b16a; $custom-dark: #000000;
JSON
{
"hex": "#2c8f2c",
"rgb": {
"r": 44,
"g": 143,
"b": 44
},
"hsl": {
"h": 120,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.57237,
"c": 0.16368,
"h": 143.1
},
"luminance": 0.20362
}Semantic roles & 50–950 ramp
primary
#2C8F2C
secondary
#B661B6
accent
#4BDCDC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A