#2E6828#2E6828
#2E6828 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.3% C 0.114 H 141.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6828 |
|---|---|
| RGB | rgb(46, 104, 40) |
| HSL | hsl(114, 44%, 28%) |
| HSV | hsv(114, 62%, 41%) |
| CMYK | cmyk(55.8%, 0%, 61.5%, 59.2%) |
| CIE-LAB | lab(38.96, -32.84, 29.86) |
| CIE-LCH | lch(38.96, 44.39, 137.72°) |
| OKLab | oklab(46.27% -0.0896 0.0704) |
| OKLCH | oklch(46.27% 0.114 141.8) |
| XYZ | xyz(6.4597, 10.6342, 3.7193) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.01
Darkgreen
#006400
ΔE00 5.34
Deep Green
#02590F
ΔE00 6.01
Pine
#2B5D34
ΔE00 6.06
Forest
#0B5509
ΔE00 6.94
Darkish Green
#287C37
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6828 #622868
analogous
#4E6828 #2E6828 #286842
triadic
#2E6828 #282E68 #68282E
tetradic
#2E6828 #284E68 #622868 #684228
square
#2E6828 #284E68 #622868 #684228
split-complementary
#2E6828 #422868 #68284E
monochromatic
#0A1609 #1A3C17 #2E6828 #429439 #59BB4F
Accessibility & contrast
On white
6.72
#2E6828 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2E6828 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6828
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6828 | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5F21
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#27655A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e6828; /* rgb */ color: rgb(46, 104, 40); /* oklch */ color: oklch(46.3% 0.114 141.8);
Tailwind
colors: {
custom: {
50: '#6d9464',
500: '#2e6828',
950: '#000000',
},
}SCSS
$custom: #2e6828; $custom-light: #6d9464; $custom-dark: #000000;
JSON
{
"hex": "#2e6828",
"rgb": {
"r": 46,
"g": 104,
"b": 40
},
"hsl": {
"h": 114.375,
"s": 44.444,
"l": 28.235
},
"oklch": {
"l": 0.46273,
"c": 0.11395,
"h": 141.8
},
"luminance": 0.10635
}Semantic roles & 50–950 ramp
primary
#2E6828
secondary
#94519B
accent
#54D4C8
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A