#2E6F12#2E6F12
#2E6F12 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.139 H 138.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6F12 |
|---|---|
| RGB | rgb(46, 111, 18) |
| HSL | hsl(102, 72%, 25%) |
| HSV | hsv(102, 84%, 44%) |
| CMYK | cmyk(58.6%, 0%, 83.8%, 56.5%) |
| CIE-LAB | lab(41.20, -37.79, 41.62) |
| CIE-LCH | lch(41.20, 56.21, 132.24°) |
| OKLab | oklab(48.07% -0.1044 0.0923) |
| OKLCH | oklch(48.07% 0.139 138.5) |
| XYZ | xyz(6.9201, 11.9928, 2.5223) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.81
Tree Green
#2A7E19
ΔE00 5.18
Dark Grass Green
#388004
ΔE00 6.40
Green
#008000
ΔE00 6.43
Darkish Green
#287C37
ΔE00 6.74
Darkolivegreen
#556B2F
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6F12 #53126F
analogous
#5D6F12 #2E6F12 #126F24
triadic
#2E6F12 #122E6F #6F122E
tetradic
#2E6F12 #125D6F #53126F #6F2412
square
#2E6F12 #125D6F #53126F #6F2412
split-complementary
#2E6F12 #24126F #6F125D
monochromatic
#0B1A04 #183A09 #2E6F12 #44A41B #5AD823
Accessibility & contrast
On white
6.18
#2E6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#2E6F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6F12
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6F12 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736400
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#286B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2e6f12; /* rgb */ color: rgb(46, 111, 18); /* oklch */ color: oklch(48.1% 0.139 138.5);
Tailwind
colors: {
custom: {
50: '#6f9959',
500: '#2e6f12',
950: '#000000',
},
}SCSS
$custom: #2e6f12; $custom-light: #6f9959; $custom-dark: #000000;
JSON
{
"hex": "#2e6f12",
"rgb": {
"r": 46,
"g": 111,
"b": 18
},
"hsl": {
"h": 101.935,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.48066,
"c": 0.13932,
"h": 138.5
},
"luminance": 0.11993
}Semantic roles & 50–950 ramp
primary
#2E6F12
secondary
#8537A6
accent
#39EFB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79