#2E581A#2E581A

#2E581A is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.5% C 0.103 H 137.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2E581A
RGBrgb(46, 88, 26)
HSLhsl(101, 54%, 22%)
HSVhsv(101, 70%, 35%)
CMYKcmyk(47.7%, 0%, 70.5%, 65.5%)
CIE-LABlab(33.21, -27.26, 30.39)
CIE-LCHlch(33.21, 40.83, 131.89°)
OKLaboklab(41.51% -0.0754 0.07)
OKLCHoklch(41.51% 0.103 137.1)
XYZxyz(4.8027, 7.6346, 2.1976)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E581A #441A58
analogous
#4D581A #2E581A #1A5825
triadic
#2E581A #1A2E58 #581A2E
tetradic
#2E581A #1A4D58 #441A58 #58251A
square
#2E581A #1A4D58 #441A58 #58251A
split-complementary
#2E581A #251A58 #581A4D
monochromatic
#0C1807 #15290C #2E581A #478728 #5FB636

Accessibility & contrast

On white

8.31
#2E581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2E581A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E581A
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E581A#FFFFFF#000000##FFFFFF
##2E581A1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5012
Deuteranopia (green-blind)
#554D1F
Tritanopia (blue-blind)
#2C554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e581a;
/* rgb */ color: rgb(46, 88, 26);
/* oklch */ color: oklch(41.5% 0.103 137.1);
Tailwind
colors: {
  custom: {
    50: '#6b875a',
    500: '#2e581a',
    950: '#000000',
  },
}
SCSS
$custom: #2e581a;
$custom-light: #6b875a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e581a",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 100.645,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.10287,
    "h": 137.1
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#2E581A
secondary
#75408E
accent
#4ADEAE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E581A

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

Preview Lab → · Contrast checker → · Palette generator →

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