#2E7012#2E7012
#2E7012 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.141 H 138.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7012 |
|---|---|
| RGB | rgb(46, 112, 18) |
| HSL | hsl(102, 72%, 25%) |
| HSV | hsv(102, 84%, 44%) |
| CMYK | cmyk(58.9%, 0%, 83.9%, 56.1%) |
| CIE-LAB | lab(41.55, -38.19, 41.94) |
| CIE-LCH | lch(41.55, 56.72, 132.32°) |
| OKLab | oklab(48.35% -0.1054 0.0929) |
| OKLCH | oklch(48.35% 0.141 138.6) |
| XYZ | xyz(7.0298, 12.2123, 2.5589) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.84
Darkgreen
#006400
ΔE00 5.05
Dark Grass Green
#388004
ΔE00 6.07
Green
#008000
ΔE00 6.11
Darkish Green
#287C37
ΔE00 6.56
Darkolivegreen
#556B2F
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7012 #541270
analogous
#5D7012 #2E7012 #127025
triadic
#2E7012 #122E70 #70122E
tetradic
#2E7012 #125D70 #541270 #702512
square
#2E7012 #125D70 #541270 #702512
split-complementary
#2E7012 #251270 #70125D
monochromatic
#0B1A04 #183B0A #2E7012 #44A51A #59D923
Accessibility & contrast
On white
6.10
#2E7012 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#2E7012 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7012
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7012 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#286C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2e7012; /* rgb */ color: rgb(46, 112, 18); /* oklch */ color: oklch(48.4% 0.141 138.6);
Tailwind
colors: {
custom: {
50: '#6f9a59',
500: '#2e7012',
950: '#000000',
},
}SCSS
$custom: #2e7012; $custom-light: #6f9a59; $custom-dark: #000000;
JSON
{
"hex": "#2e7012",
"rgb": {
"r": 46,
"g": 112,
"b": 18
},
"hsl": {
"h": 102.128,
"s": 72.308,
"l": 25.49
},
"oklch": {
"l": 0.48353,
"c": 0.14055,
"h": 138.6
},
"luminance": 0.12213
}Semantic roles & 50–950 ramp
primary
#2E7012
secondary
#8637A7
accent
#39EFB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79