#2E6B12#2E6B12
#2E6B12 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.134 H 138.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6B12 |
|---|---|
| RGB | rgb(46, 107, 18) |
| HSL | hsl(101, 71%, 25%) |
| HSV | hsv(101, 83%, 42%) |
| CMYK | cmyk(57%, 0%, 83.2%, 58%) |
| CIE-LAB | lab(39.81, -36.18, 40.31) |
| CIE-LCH | lch(39.81, 54.16, 131.91°) |
| OKLab | oklab(46.92% -0.1001 0.0895) |
| OKLCH | oklch(46.92% 0.134 138.2) |
| XYZ | xyz(6.4934, 11.1394, 2.3801) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.02
Tree Green
#2A7E19
ΔE00 6.53
Deep Green
#02590F
ΔE00 7.10
Camouflage Green
#4B6113
ΔE00 7.42
Darkish Green
#287C37
ΔE00 7.54
Dark Grass Green
#388004
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6B12 #4F126B
analogous
#5B6B12 #2E6B12 #126B23
triadic
#2E6B12 #122E6B #6B122E
tetradic
#2E6B12 #125B6B #4F126B #6B2312
square
#2E6B12 #125B6B #4F126B #6B2312
split-complementary
#2E6B12 #23126B #6B125B
monochromatic
#0B1A04 #173709 #2E6B12 #459F1B #5BD424
Accessibility & contrast
On white
6.51
#2E6B12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2E6B12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6B12
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6B12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6B12 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#29675B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2e6b12; /* rgb */ color: rgb(46, 107, 18); /* oklch */ color: oklch(46.9% 0.134 138.2);
Tailwind
colors: {
custom: {
50: '#6e9658',
500: '#2e6b12',
950: '#000000',
},
}SCSS
$custom: #2e6b12; $custom-light: #6e9658; $custom-dark: #000000;
JSON
{
"hex": "#2e6b12",
"rgb": {
"r": 46,
"g": 107,
"b": 18
},
"hsl": {
"h": 101.124,
"s": 71.2,
"l": 24.51
},
"oklch": {
"l": 0.46919,
"c": 0.13427,
"h": 138.2
},
"luminance": 0.1114
}Semantic roles & 50–950 ramp
primary
#2E6B12
secondary
#8036A2
accent
#3AEEB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79