#2C7D2D#2C7D2D
#2C7D2D is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.140 H 143.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7D2D |
|---|---|
| RGB | rgb(44, 125, 45) |
| HSL | hsl(121, 48%, 33%) |
| HSV | hsv(121, 65%, 49%) |
| CMYK | cmyk(64.8%, 0%, 64%, 51%) |
| CIE-LAB | lab(46.17, -41.37, 35.63) |
| CIE-LCH | lch(46.17, 54.60, 139.27°) |
| OKLab | oklab(52.21% -0.1123 0.0833) |
| OKLCH | oklch(52.21% 0.14 143.4) |
| XYZ | xyz(8.8455, 15.3913, 4.9868) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.18
Tree Green
#2A7E19
ΔE00 2.91
Green
#008000
ΔE00 4.75
Jungle Green
#048243
ΔE00 5.15
Dark Grass Green
#388004
ΔE00 5.51
Forestgreen (CSS)
#228B22
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7D2D #7D2C7C
analogous
#537D2C #2C7D2D #2C7D55
triadic
#2C7D2D #2D2C7D #7D2D2C
tetradic
#2C7D2D #2C537D #7D2C7C #7D552C
square
#2C7D2D #2C537D #7D2C7C #7D552C
split-complementary
#2C7D2D #552C7D #7D2C53
monochromatic
#0C220C #1C501D #2C7D2D #3CAA3D #5DC65F
Accessibility & contrast
On white
5.15
#2C7D2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#2C7D2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7D2D
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7D2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7D2D | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#1B796C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2c7d2d; /* rgb */ color: rgb(44, 125, 45); /* oklch */ color: oklch(52.2% 0.140 143.4);
Tailwind
colors: {
custom: {
50: '#70a369',
500: '#2c7d2d',
950: '#000000',
},
}SCSS
$custom: #2c7d2d; $custom-light: #70a369; $custom-dark: #000000;
JSON
{
"hex": "#2c7d2d",
"rgb": {
"r": 44,
"g": 125,
"b": 45
},
"hsl": {
"h": 120.741,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.52213,
"c": 0.13985,
"h": 143.4
},
"luminance": 0.15392
}Semantic roles & 50–950 ramp
primary
#2C7D2D
secondary
#AC59AB
accent
#50D6D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A