#2C7E19#2C7E19
#2C7E19 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.155 H 140.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7E19 |
|---|---|
| RGB | rgb(44, 126, 25) |
| HSL | hsl(109, 67%, 30%) |
| HSV | hsv(109, 80%, 49%) |
| CMYK | cmyk(65.1%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(46.35, -43.62, 44.15) |
| CIE-LCH | lch(46.35, 62.07, 134.65°) |
| OKLab | oklab(52.31% -0.1195 0.0987) |
| OKLCH | oklch(52.31% 0.155 140.5) |
| XYZ | xyz(8.6746, 15.5265, 3.4593) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.20
Green
#008000
ΔE00 2.53
Dark Grass Green
#388004
ΔE00 2.75
Forestgreen (CSS)
#228B22
ΔE00 4.65
Darkish Green
#287C37
ΔE00 5.13
Emerald Green
#028F1E
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7E19 #6B197E
analogous
#5F7E19 #2C7E19 #197E39
triadic
#2C7E19 #192C7E #7E192C
tetradic
#2C7E19 #195F7E #6B197E #7E3919
square
#2C7E19 #195F7E #6B197E #7E3919
split-complementary
#2C7E19 #39197E #7E195F
monochromatic
#091A05 #1A4B0F #2C7E19 #3EB123 #57D83A
Accessibility & contrast
On white
5.12
#2C7E19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2C7E19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7E19
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7E19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7E19 | 1.00 | 5.12 | 4.11 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#1F7A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2c7e19; /* rgb */ color: rgb(44, 126, 25); /* oklch */ color: oklch(52.3% 0.155 140.5);
Tailwind
colors: {
custom: {
50: '#71a45e',
500: '#2c7e19',
950: '#000000',
},
}SCSS
$custom: #2c7e19; $custom-light: #71a45e; $custom-dark: #000000;
JSON
{
"hex": "#2c7e19",
"rgb": {
"r": 44,
"g": 126,
"b": 25
},
"hsl": {
"h": 108.713,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.52311,
"c": 0.15499,
"h": 140.5
},
"luminance": 0.15527
}Semantic roles & 50–950 ramp
primary
#2C7E19
secondary
#9D41B2
accent
#3EEAC9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79