#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
RGBrgb(46, 88, 31)
HSLhsl(104, 48%, 23%)
HSVhsv(104, 65%, 35%)
CMYKcmyk(47.7%, 0%, 64.8%, 65.5%)
CIE-LABlab(33.26, -26.71, 27.95)
CIE-LCHlch(33.26, 38.66, 133.70°)
OKLaboklab(41.57% -0.0735 0.0654)
OKLCHoklch(41.57% 0.098 138.3)
XYZxyz(4.8636, 7.6589, 2.5181)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

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
##2E581F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.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

Preview Lab

Preview with #2E581F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E581F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva