#2C7C1C#2C7C1C
#2C7C1C is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.151 H 140.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7C1C |
|---|---|
| RGB | rgb(44, 124, 28) |
| HSL | hsl(110, 63%, 30%) |
| HSV | hsv(110, 77%, 49%) |
| CMYK | cmyk(64.5%, 0%, 77.4%, 51.4%) |
| CIE-LAB | lab(45.68, -42.66, 42.43) |
| CIE-LCH | lch(45.68, 60.16, 135.16°) |
| OKLab | oklab(51.77% -0.1168 0.0955) |
| OKLCH | oklch(51.77% 0.151 140.7) |
| XYZ | xyz(8.4555, 15.0338, 3.5546) |
| Luminance | 0.1504 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.83
Green
#008000
ΔE00 3.02
Dark Grass Green
#388004
ΔE00 3.40
Darkish Green
#287C37
ΔE00 4.60
Forestgreen (CSS)
#228B22
ΔE00 5.32
Emerald Green
#028F1E
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7C1C #6C1C7C
analogous
#5C7C1C #2C7C1C #1C7C3C
triadic
#2C7C1C #1C2C7C #7C1C2C
tetradic
#2C7C1C #1C5C7C #6C1C7C #7C3C1C
square
#2C7C1C #1C5C7C #6C1C7C #7C3C1C
split-complementary
#2C7C1C #3C1C7C #7C1C5C
monochromatic
#091906 #1A4A11 #2C7C1C #3EAE27 #58D43F
Accessibility & contrast
On white
5.24
#2C7C1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#2C7C1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7C1C
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7C1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7C1C | 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)
#7F7008
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#20786A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2c7c1c; /* rgb */ color: rgb(44, 124, 28); /* oklch */ color: oklch(51.8% 0.151 140.7);
Tailwind
colors: {
custom: {
50: '#70a35f',
500: '#2c7c1c',
950: '#000000',
},
}SCSS
$custom: #2c7c1c; $custom-light: #70a35f; $custom-dark: #000000;
JSON
{
"hex": "#2c7c1c",
"rgb": {
"r": 44,
"g": 124,
"b": 28
},
"hsl": {
"h": 110,
"s": 63.158,
"l": 29.804
},
"oklch": {
"l": 0.51766,
"c": 0.15085,
"h": 140.7
},
"luminance": 0.15035
}Semantic roles & 50–950 ramp
primary
#2C7C1C
secondary
#9E44B0
accent
#42E6CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79