#2E6428#2E6428
#2E6428 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.108 H 141.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6428 |
|---|---|
| RGB | rgb(46, 100, 40) |
| HSL | hsl(114, 43%, 27%) |
| HSV | hsv(114, 60%, 39%) |
| CMYK | cmyk(54%, 0%, 60%, 60.8%) |
| CIE-LAB | lab(37.57, -31.08, 28.24) |
| CIE-LCH | lch(37.57, 41.99, 137.74°) |
| OKLab | oklab(45.13% -0.0848 0.0669) |
| OKLCH | oklch(45.13% 0.108 141.7) |
| XYZ | xyz(6.0666, 9.8479, 3.5882) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.57
Pine
#2B5D34
ΔE00 4.89
Deep Green
#02590F
ΔE00 5.34
Darkgreen
#006400
ΔE00 5.71
Forest
#0B5509
ΔE00 6.12
Hunter Green
#355E3B
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6428 #5E2864
analogous
#4C6428 #2E6428 #286440
triadic
#2E6428 #282E64 #64282E
tetradic
#2E6428 #284C64 #5E2864 #644028
square
#2E6428 #284C64 #5E2864 #644028
split-complementary
#2E6428 #402864 #64284C
monochromatic
#0A1609 #1A3817 #2E6428 #429039 #59B84E
Accessibility & contrast
On white
7.07
#2E6428 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2E6428 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E6428
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6428 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6428 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665B22
Deuteranopia (green-blind)
#5F572C
Tritanopia (blue-blind)
#276157
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e6428; /* rgb */ color: rgb(46, 100, 40); /* oklch */ color: oklch(45.1% 0.108 141.7);
Tailwind
colors: {
custom: {
50: '#6c9164',
500: '#2e6428',
950: '#000000',
},
}SCSS
$custom: #2e6428; $custom-light: #6c9164; $custom-dark: #000000;
JSON
{
"hex": "#2e6428",
"rgb": {
"r": 46,
"g": 100,
"b": 40
},
"hsl": {
"h": 114,
"s": 42.857,
"l": 27.451
},
"oklch": {
"l": 0.45131,
"c": 0.10802,
"h": 141.7
},
"luminance": 0.09848
}Semantic roles & 50–950 ramp
primary
#2E6428
secondary
#905197
accent
#55D3C6
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070D05
muted
#7A7D7A