#2C7B19#2C7B19
#2C7B19 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.151 H 140.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7B19 |
|---|---|
| RGB | rgb(44, 123, 25) |
| HSL | hsl(108, 66%, 29%) |
| HSV | hsv(108, 80%, 48%) |
| CMYK | cmyk(64.2%, 0%, 79.7%, 51.8%) |
| CIE-LAB | lab(45.32, -42.51, 43.16) |
| CIE-LCH | lch(45.32, 60.57, 134.56°) |
| OKLab | oklab(51.46% -0.1165 0.0966) |
| OKLCH | oklch(51.46% 0.151 140.4) |
| XYZ | xyz(8.2967, 14.7708, 3.3333) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.07
Green
#008000
ΔE00 3.05
Dark Grass Green
#388004
ΔE00 3.33
Darkish Green
#287C37
ΔE00 4.90
Forestgreen (CSS)
#228B22
ΔE00 5.68
Emerald Green
#028F1E
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7B19 #68197B
analogous
#5D7B19 #2C7B19 #197B37
triadic
#2C7B19 #192C7B #7B192C
tetradic
#2C7B19 #195D7B #68197B #7B3719
square
#2C7B19 #195D7B #68197B #7B3719
split-complementary
#2C7B19 #37197B #7B195D
monochromatic
#091905 #1A480F #2C7B19 #3EAE23 #57D738
Accessibility & contrast
On white
5.31
#2C7B19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#2C7B19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7B19
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7B19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7B19 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#207769
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2c7b19; /* rgb */ color: rgb(44, 123, 25); /* oklch */ color: oklch(51.5% 0.151 140.4);
Tailwind
colors: {
custom: {
50: '#70a25e',
500: '#2c7b19',
950: '#000000',
},
}SCSS
$custom: #2c7b19; $custom-light: #70a25e; $custom-dark: #000000;
JSON
{
"hex": "#2c7b19",
"rgb": {
"r": 44,
"g": 123,
"b": 25
},
"hsl": {
"h": 108.367,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.5146,
"c": 0.15134,
"h": 140.4
},
"luminance": 0.14772
}Semantic roles & 50–950 ramp
primary
#2C7B19
secondary
#9A40AF
accent
#3FE9C8
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79