#2E7212#2E7212
#2E7212 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.143 H 138.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7212 |
|---|---|
| RGB | rgb(46, 114, 18) |
| HSL | hsl(103, 73%, 26%) |
| HSV | hsv(103, 84%, 45%) |
| CMYK | cmyk(59.6%, 0%, 84.2%, 55.3%) |
| CIE-LAB | lab(42.24, -38.97, 42.58) |
| CIE-LCH | lch(42.24, 57.73, 132.47°) |
| OKLab | oklab(48.93% -0.1076 0.0943) |
| OKLCH | oklch(48.93% 0.143 138.8) |
| XYZ | xyz(7.2529, 12.6585, 2.6333) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.17
Dark Grass Green
#388004
ΔE00 5.42
Green
#008000
ΔE00 5.47
Darkgreen
#006400
ΔE00 5.56
Darkish Green
#287C37
ΔE00 6.26
Darkolivegreen
#556B2F
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7212 #561272
analogous
#5E7212 #2E7212 #127226
triadic
#2E7212 #122E72 #72122E
tetradic
#2E7212 #125E72 #561272 #722612
square
#2E7212 #125E72 #561272 #722612
split-complementary
#2E7212 #261272 #72125E
monochromatic
#0B1A04 #193D0A #2E7212 #43A71A #59DC23
Accessibility & contrast
On white
5.95
#2E7212 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2E7212 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7212
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7212 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#276E61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2e7212; /* rgb */ color: rgb(46, 114, 18); /* oklch */ color: oklch(48.9% 0.143 138.8);
Tailwind
colors: {
custom: {
50: '#709b59',
500: '#2e7212',
950: '#000000',
},
}SCSS
$custom: #2e7212; $custom-light: #709b59; $custom-dark: #000000;
JSON
{
"hex": "#2e7212",
"rgb": {
"r": 46,
"g": 114,
"b": 18
},
"hsl": {
"h": 102.5,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.48925,
"c": 0.14304,
"h": 138.8
},
"luminance": 0.12659
}Semantic roles & 50–950 ramp
primary
#2E7212
secondary
#8837A9
accent
#38EFBA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79