#2C7818#2C7818
#2C7818 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.148 H 140.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7818 |
|---|---|
| RGB | rgb(44, 120, 24) |
| HSL | hsl(108, 67%, 28%) |
| HSV | hsv(108, 80%, 47%) |
| CMYK | cmyk(63.3%, 0%, 80%, 52.9%) |
| CIE-LAB | lab(44.28, -41.45, 42.50) |
| CIE-LCH | lch(44.28, 59.36, 134.28°) |
| OKLab | oklab(50.6% -0.1137 0.0951) |
| OKLCH | oklch(50.6% 0.148 140.1) |
| XYZ | xyz(7.9197, 14.0336, 3.1554) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.10
Green
#008000
ΔE00 3.76
Dark Grass Green
#388004
ΔE00 4.02
Darkish Green
#287C37
ΔE00 5.01
Forestgreen (CSS)
#228B22
ΔE00 6.72
Darkgreen
#006400
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7818 #641878
analogous
#5C7818 #2C7818 #187834
triadic
#2C7818 #182C78 #78182C
tetradic
#2C7818 #185C78 #641878 #783418
square
#2C7818 #185C78 #641878 #783418
split-complementary
#2C7818 #341878 #78185C
monochromatic
#091A05 #19450E #2C7818 #3FAB22 #56D634
Accessibility & contrast
On white
5.52
#2C7818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#2C7818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7818
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7818 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6D02
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#217466
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #2c7818; /* rgb */ color: rgb(44, 120, 24); /* oklch */ color: oklch(50.6% 0.148 140.1);
Tailwind
colors: {
custom: {
50: '#70a05d',
500: '#2c7818',
950: '#000000',
},
}SCSS
$custom: #2c7818; $custom-light: #70a05d; $custom-dark: #000000;
JSON
{
"hex": "#2c7818",
"rgb": {
"r": 44,
"g": 120,
"b": 24
},
"hsl": {
"h": 107.5,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.506,
"c": 0.14823,
"h": 140.1
},
"luminance": 0.14034
}Semantic roles & 50–950 ramp
primary
#2C7818
secondary
#963FAD
accent
#3EEAC6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79