#2C7C20#2C7C20
#2C7C20 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.148 H 141.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7C20 |
|---|---|
| RGB | rgb(44, 124, 32) |
| HSL | hsl(112, 59%, 31%) |
| HSV | hsv(112, 74%, 49%) |
| CMYK | cmyk(64.5%, 0%, 74.2%, 51.4%) |
| CIE-LAB | lab(45.71, -42.33, 40.90) |
| CIE-LCH | lch(45.71, 58.86, 135.99°) |
| OKLab | oklab(51.8% -0.1157 0.0929) |
| OKLCH | oklch(51.8% 0.148 141.2) |
| XYZ | xyz(8.5066, 15.0542, 3.8237) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.18
Green
#008000
ΔE00 3.33
Dark Grass Green
#388004
ΔE00 3.84
Darkish Green
#287C37
ΔE00 4.07
Forestgreen (CSS)
#228B22
ΔE00 5.35
Emerald Green
#028F1E
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7C20 #70207C
analogous
#5A7C20 #2C7C20 #207C42
triadic
#2C7C20 #202C7C #7C202C
tetradic
#2C7C20 #205A7C #70207C #7C4220
square
#2C7C20 #205A7C #70207C #7C4220
split-complementary
#2C7C20 #42207C #7C205A
monochromatic
#091B07 #1B4B13 #2C7C20 #3DAD2D #59CF47
Accessibility & contrast
On white
5.24
#2C7C20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#2C7C20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7C20
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7C20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7C20 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#1F786A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2c7c20; /* rgb */ color: rgb(44, 124, 32); /* oklch */ color: oklch(51.8% 0.148 141.2);
Tailwind
colors: {
custom: {
50: '#70a361',
500: '#2c7c20',
950: '#000000',
},
}SCSS
$custom: #2c7c20; $custom-light: #70a361; $custom-dark: #000000;
JSON
{
"hex": "#2c7c20",
"rgb": {
"r": 44,
"g": 124,
"b": 32
},
"hsl": {
"h": 112.174,
"s": 58.974,
"l": 30.588
},
"oklch": {
"l": 0.51798,
"c": 0.14834,
"h": 141.2
},
"luminance": 0.15055
}Semantic roles & 50–950 ramp
primary
#2C7C20
secondary
#A249AF
accent
#46E2CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A