#2E7512#2E7512
#2E7512 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.147 H 139.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7512 |
|---|---|
| RGB | rgb(46, 117, 18) |
| HSL | hsl(103, 73%, 26%) |
| HSV | hsv(103, 85%, 46%) |
| CMYK | cmyk(60.7%, 0%, 84.6%, 54.1%) |
| CIE-LAB | lab(43.28, -40.14, 43.54) |
| CIE-LCH | lch(43.28, 59.22, 132.67°) |
| OKLab | oklab(49.78% -0.1107 0.0963) |
| OKLCH | oklch(49.78% 0.147 139) |
| XYZ | xyz(7.5969, 13.3464, 2.7479) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.17
Dark Grass Green
#388004
ΔE00 4.45
Green
#008000
ΔE00 4.55
Darkish Green
#287C37
ΔE00 5.91
Darkgreen
#006400
ΔE00 6.41
Forestgreen (CSS)
#228B22
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7512 #591275
analogous
#607512 #2E7512 #127528
triadic
#2E7512 #122E75 #75122E
tetradic
#2E7512 #126075 #591275 #752812
square
#2E7512 #126075 #591275 #752812
split-complementary
#2E7512 #281275 #751260
monochromatic
#0A1B04 #19400A #2E7512 #43AA1A #58DD24
Accessibility & contrast
On white
5.72
#2E7512 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#2E7512 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7512
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7512 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#267163
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2e7512; /* rgb */ color: rgb(46, 117, 18); /* oklch */ color: oklch(49.8% 0.147 139.0);
Tailwind
colors: {
custom: {
50: '#709d5a',
500: '#2e7512',
950: '#000000',
},
}SCSS
$custom: #2e7512; $custom-light: #709d5a; $custom-dark: #000000;
JSON
{
"hex": "#2e7512",
"rgb": {
"r": 46,
"g": 117,
"b": 18
},
"hsl": {
"h": 103.03,
"s": 73.333,
"l": 26.471
},
"oklch": {
"l": 0.49781,
"c": 0.14672,
"h": 139
},
"luminance": 0.13347
}Semantic roles & 50–950 ramp
primary
#2E7512
secondary
#8B37AC
accent
#38F0BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79