#2E6F18#2E6F18
#2E6F18 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.136 H 139.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6F18 |
|---|---|
| RGB | rgb(46, 111, 24) |
| HSL | hsl(105, 64%, 26%) |
| HSV | hsv(105, 78%, 44%) |
| CMYK | cmyk(58.6%, 0%, 78.4%, 56.5%) |
| CIE-LAB | lab(41.24, -37.38, 39.55) |
| CIE-LCH | lch(41.24, 54.42, 133.39°) |
| OKLab | oklab(48.11% -0.1029 0.0889) |
| OKLCH | oklch(48.11% 0.136 139.2) |
| XYZ | xyz(6.9757, 12.0151, 2.8155) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.81
Tree Green
#2A7E19
ΔE00 5.23
Darkish Green
#287C37
ΔE00 6.21
Green
#008000
ΔE00 6.61
Dark Grass Green
#388004
ΔE00 6.70
Darkolivegreen
#556B2F
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6F18 #59186F
analogous
#5A6F18 #2E6F18 #186F2E
triadic
#2E6F18 #182E6F #6F182E
tetradic
#2E6F18 #185A6F #59186F #6F2E18
square
#2E6F18 #185A6F #59186F #6F2E18
split-complementary
#2E6F18 #2E186F #6F185A
monochromatic
#0A1905 #193D0D #2E6F18 #43A123 #58D22F
Accessibility & contrast
On white
6.17
#2E6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#2E6F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6F18
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6F18 | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726506
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#276B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2e6f18; /* rgb */ color: rgb(46, 111, 24); /* oklch */ color: oklch(48.1% 0.136 139.2);
Tailwind
colors: {
custom: {
50: '#6f995c',
500: '#2e6f18',
950: '#000000',
},
}SCSS
$custom: #2e6f18; $custom-light: #6f995c; $custom-dark: #000000;
JSON
{
"hex": "#2e6f18",
"rgb": {
"r": 46,
"g": 111,
"b": 24
},
"hsl": {
"h": 104.828,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.48107,
"c": 0.13599,
"h": 139.2
},
"luminance": 0.12016
}Semantic roles & 50–950 ramp
primary
#2E6F18
secondary
#8B3EA5
accent
#40E7BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79