#2E6820#2E6820
#2E6820 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.121 H 140.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6820 |
|---|---|
| RGB | rgb(46, 104, 32) |
| HSL | hsl(108, 53%, 27%) |
| HSV | hsv(108, 69%, 41%) |
| CMYK | cmyk(55.8%, 0%, 69.2%, 59.2%) |
| CIE-LAB | lab(38.87, -33.77, 33.70) |
| CIE-LCH | lch(38.87, 47.71, 135.06°) |
| OKLab | oklab(46.18% -0.0926 0.0777) |
| OKLCH | oklch(46.18% 0.121 140) |
| XYZ | xyz(6.3375, 10.5853, 3.0754) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.33
Forest Green
#2D5A27
ΔE00 5.73
Deep Green
#02590F
ΔE00 5.86
Forest
#0B5509
ΔE00 6.68
Darkish Green
#287C37
ΔE00 7.30
Pine
#2B5D34
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6820 #5A2068
analogous
#526820 #2E6820 #206836
triadic
#2E6820 #202E68 #68202E
tetradic
#2E6820 #205268 #5A2068 #683620
square
#2E6820 #205268 #5A2068 #683620
split-complementary
#2E6820 #362068 #682052
monochromatic
#0A1707 #193912 #2E6820 #43972E #59C43F
Accessibility & contrast
On white
6.74
#2E6820 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2E6820 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6820
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6820 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6820 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F17
Deuteranopia (green-blind)
#635A26
Tritanopia (blue-blind)
#286559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e6820; /* rgb */ color: rgb(46, 104, 32); /* oklch */ color: oklch(46.2% 0.121 140.0);
Tailwind
colors: {
custom: {
50: '#6d945f',
500: '#2e6820',
950: '#000000',
},
}SCSS
$custom: #2e6820; $custom-light: #6d945f; $custom-dark: #000000;
JSON
{
"hex": "#2e6820",
"rgb": {
"r": 46,
"g": 104,
"b": 32
},
"hsl": {
"h": 108.333,
"s": 52.941,
"l": 26.667
},
"oklch": {
"l": 0.46176,
"c": 0.12092,
"h": 140
},
"luminance": 0.10586
}Semantic roles & 50–950 ramp
primary
#2E6820
secondary
#8C489C
accent
#4BDCC0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79