#2C7A19#2C7A19
#2C7A19 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.150 H 140.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7A19 |
|---|---|
| RGB | rgb(44, 122, 25) |
| HSL | hsl(108, 66%, 29%) |
| HSV | hsv(108, 80%, 48%) |
| CMYK | cmyk(63.9%, 0%, 79.5%, 52.2%) |
| CIE-LAB | lab(44.98, -42.13, 42.82) |
| CIE-LCH | lch(44.98, 60.07, 134.53°) |
| OKLab | oklab(51.18% -0.1155 0.0959) |
| OKLCH | oklch(51.18% 0.15 140.3) |
| XYZ | xyz(8.1733, 14.5240, 3.2922) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.41
Green
#008000
ΔE00 3.28
Dark Grass Green
#388004
ΔE00 3.57
Darkish Green
#287C37
ΔE00 4.88
Forestgreen (CSS)
#228B22
ΔE00 6.03
Emerald Green
#028F1E
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7A19 #67197A
analogous
#5D7A19 #2C7A19 #197A37
triadic
#2C7A19 #192C7A #7A192C
tetradic
#2C7A19 #195D7A #67197A #7A3719
square
#2C7A19 #195D7A #67197A #7A3719
split-complementary
#2C7A19 #37197A #7A195D
monochromatic
#091905 #1A470F #2C7A19 #3EAD23 #56D637
Accessibility & contrast
On white
5.38
#2C7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#2C7A19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7A19
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7A19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7A19 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#217668
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2c7a19; /* rgb */ color: rgb(44, 122, 25); /* oklch */ color: oklch(51.2% 0.150 140.3);
Tailwind
colors: {
custom: {
50: '#70a15e',
500: '#2c7a19',
950: '#000000',
},
}SCSS
$custom: #2c7a19; $custom-light: #70a15e; $custom-dark: #000000;
JSON
{
"hex": "#2c7a19",
"rgb": {
"r": 44,
"g": 122,
"b": 25
},
"hsl": {
"h": 108.247,
"s": 65.986,
"l": 28.824
},
"oklch": {
"l": 0.51176,
"c": 0.15013,
"h": 140.3
},
"luminance": 0.14525
}Semantic roles & 50–950 ramp
primary
#2C7A19
secondary
#9940AF
accent
#3FE9C8
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79