#2E5B2B#2E5B2B
#2E5B2B is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.6% C 0.091 H 142.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5B2B |
|---|---|
| RGB | rgb(46, 91, 43) |
| HSL | hsl(116, 36%, 26%) |
| HSV | hsv(116, 53%, 36%) |
| CMYK | cmyk(49.5%, 0%, 52.7%, 64.3%) |
| CIE-LAB | lab(34.47, -26.49, 22.86) |
| CIE-LCH | lch(34.47, 34.98, 139.21°) |
| OKLab | oklab(42.61% -0.0722 0.0553) |
| OKLCH | oklch(42.61% 0.091 142.6) |
| XYZ | xyz(5.3036, 8.2371, 3.5955) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 0.86
Pine
#2B5D34
ΔE00 2.41
Hunter Green
#355E3B
ΔE00 3.90
Spruce
#0A5F38
ΔE00 5.69
Deep Green
#02590F
ΔE00 5.85
Forest
#0B5509
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5B2B #582B5B
analogous
#465B2B #2E5B2B #2B5B40
triadic
#2E5B2B #2B2E5B #5B2B2E
tetradic
#2E5B2B #2B465B #582B5B #5B402B
square
#2E5B2B #2B465B #582B5B #5B402B
split-complementary
#2E5B2B #402B5B #5B2B46
monochromatic
#0B150A #193117 #2E5B2B #43853F #58AE53
Accessibility & contrast
On white
7.93
#2E5B2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2E5B2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E5B2B
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5B2B | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5427
Deuteranopia (green-blind)
#574F2E
Tritanopia (blue-blind)
#295950
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e5b2b; /* rgb */ color: rgb(46, 91, 43); /* oklch */ color: oklch(42.6% 0.091 142.6);
Tailwind
colors: {
custom: {
50: '#6a8a65',
500: '#2e5b2b',
950: '#000000',
},
}SCSS
$custom: #2e5b2b; $custom-light: #6a8a65; $custom-dark: #000000;
JSON
{
"hex": "#2e5b2b",
"rgb": {
"r": 46,
"g": 91,
"b": 43
},
"hsl": {
"h": 116.25,
"s": 35.821,
"l": 26.275
},
"oklch": {
"l": 0.42607,
"c": 0.09091,
"h": 142.6
},
"luminance": 0.08237
}Semantic roles & 50–950 ramp
primary
#2E5B2B
secondary
#8A558D
accent
#5CCCC5
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070B06
muted
#7A7C7A