#2C7F19#2C7F19
#2C7F19 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.156 H 140.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F19 |
|---|---|
| RGB | rgb(44, 127, 25) |
| HSL | hsl(109, 67%, 30%) |
| HSV | hsv(109, 80%, 50%) |
| CMYK | cmyk(65.4%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(46.69, -43.99, 44.48) |
| CIE-LCH | lch(46.69, 62.56, 134.68°) |
| OKLab | oklab(52.6% -0.1205 0.0993) |
| OKLCH | oklch(52.6% 0.156 140.5) |
| XYZ | xyz(8.8031, 15.7835, 3.5021) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.42
Green
#008000
ΔE00 2.44
Dark Grass Green
#388004
ΔE00 2.62
Forestgreen (CSS)
#228B22
ΔE00 4.31
Darkish Green
#287C37
ΔE00 5.25
Emerald Green
#028F1E
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F19 #6C197F
analogous
#5F7F19 #2C7F19 #197F39
triadic
#2C7F19 #192C7F #7F192C
tetradic
#2C7F19 #195F7F #6C197F #7F3919
square
#2C7F19 #195F7F #6C197F #7F3919
split-complementary
#2C7F19 #39197F #7F195F
monochromatic
#091A05 #1A4C0F #2C7F19 #3EB223 #58D83A
Accessibility & contrast
On white
5.05
#2C7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2C7F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F19
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F19 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#1F7B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c7f19; /* rgb */ color: rgb(44, 127, 25); /* oklch */ color: oklch(52.6% 0.156 140.5);
Tailwind
colors: {
custom: {
50: '#71a55e',
500: '#2c7f19',
950: '#000000',
},
}SCSS
$custom: #2c7f19; $custom-light: #71a55e; $custom-dark: #000000;
JSON
{
"hex": "#2c7f19",
"rgb": {
"r": 44,
"g": 127,
"b": 25
},
"hsl": {
"h": 108.824,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.52595,
"c": 0.15619,
"h": 140.5
},
"luminance": 0.15784
}Semantic roles & 50–950 ramp
primary
#2C7F19
secondary
#9E41B3
accent
#3EEACA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79