#2E7F19#2E7F19
#2E7F19 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.155 H 140.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7F19 |
|---|---|
| RGB | rgb(46, 127, 25) |
| HSL | hsl(108, 67%, 30%) |
| HSV | hsv(108, 80%, 50%) |
| CMYK | cmyk(63.8%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(46.75, -43.50, 44.56) |
| CIE-LCH | lch(46.75, 62.27, 134.31°) |
| OKLab | oklab(52.66% -0.1193 0.0995) |
| OKLCH | oklch(52.66% 0.155 140.2) |
| XYZ | xyz(8.8911, 15.8289, 3.5063) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.56
Dark Grass Green
#388004
ΔE00 2.46
Green
#008000
ΔE00 2.58
Forestgreen (CSS)
#228B22
ΔE00 4.35
Darkish Green
#287C37
ΔE00 5.34
Emerald Green
#028F1E
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7F19 #6A197F
analogous
#617F19 #2E7F19 #197F37
triadic
#2E7F19 #192E7F #7F192E
tetradic
#2E7F19 #19617F #6A197F #7F3719
square
#2E7F19 #19617F #6A197F #7F3719
split-complementary
#2E7F19 #37197F #7F1961
monochromatic
#091A05 #1B4C0F #2E7F19 #41B223 #5BD83A
Accessibility & contrast
On white
5.04
#2E7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#2E7F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7F19
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7F19 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#227B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2e7f19; /* rgb */ color: rgb(46, 127, 25); /* oklch */ color: oklch(52.7% 0.155 140.2);
Tailwind
colors: {
custom: {
50: '#72a55e',
500: '#2e7f19',
950: '#000000',
},
}SCSS
$custom: #2e7f19; $custom-light: #72a55e; $custom-dark: #000000;
JSON
{
"hex": "#2e7f19",
"rgb": {
"r": 46,
"g": 127,
"b": 25
},
"hsl": {
"h": 107.647,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.52661,
"c": 0.15537,
"h": 140.2
},
"luminance": 0.1583
}Semantic roles & 50–950 ramp
primary
#2E7F19
secondary
#9C41B3
accent
#3EEAC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79