#2E581F#2E581F
#2E581F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.098 H 138.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2E581F |
|---|---|
| RGB | rgb(46, 88, 31) |
| HSL | hsl(104, 48%, 23%) |
| HSV | hsv(104, 65%, 35%) |
| CMYK | cmyk(47.7%, 0%, 64.8%, 65.5%) |
| CIE-LAB | lab(33.26, -26.71, 27.95) |
| CIE-LCH | lch(33.26, 38.66, 133.70°) |
| OKLab | oklab(41.57% -0.0735 0.0654) |
| OKLCH | oklch(41.57% 0.098 138.3) |
| XYZ | xyz(4.8636, 7.6589, 2.5181) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.81
Forest
#0B5509
ΔE00 4.50
Navy Green
#35530A
ΔE00 4.59
Deep Green
#02590F
ΔE00 4.79
Pine
#2B5D34
ΔE00 5.02
Bottle Green
#044A05
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E581F #491F58
analogous
#4A581F #2E581F #1F582C
triadic
#2E581F #1F2E58 #581F2E
tetradic
#2E581F #1F4A58 #491F58 #582C1F
square
#2E581F #1F4A58 #491F58 #582C1F
split-complementary
#2E581F #2C1F58 #581F4A
monochromatic
#0C1708 #162B0F #2E581F #46852F #5DB33F
Accessibility & contrast
On white
8.29
#2E581F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2E581F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E581F
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E581F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E581F | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5019
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#2B554C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e581f; /* rgb */ color: rgb(46, 88, 31); /* oklch */ color: oklch(41.6% 0.098 138.3);
Tailwind
colors: {
custom: {
50: '#6a875d',
500: '#2e581f',
950: '#000000',
},
}SCSS
$custom: #2e581f; $custom-light: #6a875d; $custom-dark: #000000;
JSON
{
"hex": "#2e581f",
"rgb": {
"r": 46,
"g": 88,
"b": 31
},
"hsl": {
"h": 104.211,
"s": 47.899,
"l": 23.333
},
"oklch": {
"l": 0.41566,
"c": 0.09839,
"h": 138.3
},
"luminance": 0.07659
}Semantic roles & 50–950 ramp
primary
#2E581F
secondary
#7A468D
accent
#50D7B4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79