#2C7D38#2C7D38
#2C7D38 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.130 H 146.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7D38 |
|---|---|
| RGB | rgb(44, 125, 56) |
| HSL | hsl(129, 48%, 33%) |
| HSV | hsv(129, 65%, 49%) |
| CMYK | cmyk(64.8%, 0%, 55.2%, 51%) |
| CIE-LAB | lab(46.29, -39.89, 30.25) |
| CIE-LCH | lch(46.29, 50.07, 142.83°) |
| OKLab | oklab(52.36% -0.1079 0.0726) |
| OKLCH | oklch(52.36% 0.13 146.1) |
| XYZ | xyz(9.0855, 15.4873, 6.2512) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 0.52
Jungle Green
#048243
ΔE00 3.56
Tree Green
#2A7E19
ΔE00 4.96
Green
#008000
ΔE00 6.62
Forestgreen (CSS)
#228B22
ΔE00 6.72
Sea Green
#2E8B57
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7D38 #7D2C71
analogous
#487D2C #2C7D38 #2C7D60
triadic
#2C7D38 #382C7D #7D382C
tetradic
#2C7D38 #2C487D #7D2C71 #7D602C
square
#2C7D38 #2C487D #7D2C71 #7D602C
split-complementary
#2C7D38 #602C7D #7D2C48
monochromatic
#0C220F #1C5024 #2C7D38 #3CAA4C #5DC66D
Accessibility & contrast
On white
5.12
#2C7D38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#2C7D38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7D38
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7D38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7D38 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7232
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#177A6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2c7d38; /* rgb */ color: rgb(44, 125, 56); /* oklch */ color: oklch(52.4% 0.130 146.1);
Tailwind
colors: {
custom: {
50: '#6fa370',
500: '#2c7d38',
950: '#000000',
},
}SCSS
$custom: #2c7d38; $custom-light: #6fa370; $custom-dark: #000000;
JSON
{
"hex": "#2c7d38",
"rgb": {
"r": 44,
"g": 125,
"b": 56
},
"hsl": {
"h": 128.889,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.52361,
"c": 0.13001,
"h": 146.1
},
"luminance": 0.15488
}Semantic roles & 50–950 ramp
primary
#2C7D38
secondary
#AC59A0
accent
#50C3D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A