#2E701F#2E701F
#2E701F is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.133 H 140.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2E701F |
|---|---|
| RGB | rgb(46, 112, 31) |
| HSL | hsl(109, 57%, 28%) |
| HSV | hsv(109, 72%, 44%) |
| CMYK | cmyk(58.9%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(41.64, -37.19, 37.11) |
| CIE-LCH | lch(41.64, 52.54, 135.07°) |
| OKLab | oklab(48.45% -0.102 0.0848) |
| OKLCH | oklch(48.45% 0.133 140.3) |
| XYZ | xyz(7.1679, 12.2675, 3.2862) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 5.13
Darkgreen
#006400
ΔE00 5.21
Darkish Green
#287C37
ΔE00 5.34
Green
#008000
ΔE00 6.66
Dark Grass Green
#388004
ΔE00 6.92
Darkolivegreen
#556B2F
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E701F #611F70
analogous
#56701F #2E701F #1F7038
triadic
#2E701F #1F2E70 #701F2E
tetradic
#2E701F #1F5670 #611F70 #70381F
square
#2E701F #1F5670 #611F70 #70381F
split-complementary
#2E701F #381F70 #701F56
monochromatic
#0A1807 #1A4012 #2E701F #42A02C #59CA3F
Accessibility & contrast
On white
6.08
#2E701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2E701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E701F
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E701F | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736613
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#266C60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2e701f; /* rgb */ color: rgb(46, 112, 31); /* oklch */ color: oklch(48.5% 0.133 140.3);
Tailwind
colors: {
custom: {
50: '#6f9a5f',
500: '#2e701f',
950: '#000000',
},
}SCSS
$custom: #2e701f; $custom-light: #6f9a5f; $custom-dark: #000000;
JSON
{
"hex": "#2e701f",
"rgb": {
"r": 46,
"g": 112,
"b": 31
},
"hsl": {
"h": 108.889,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48452,
"c": 0.1326,
"h": 140.3
},
"luminance": 0.12268
}Semantic roles & 50–950 ramp
primary
#2E701F
secondary
#9347A4
accent
#48E0C4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79