#2E581B#2E581B

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

Color values

HEX#2E581B
RGBrgb(46, 88, 27)
HSLhsl(101, 53%, 23%)
HSVhsv(101, 69%, 35%)
CMYKcmyk(47.7%, 0%, 69.3%, 65.5%)
CIE-LABlab(33.22, -27.16, 29.92)
CIE-LCHlch(33.22, 40.41, 132.23°)
OKLaboklab(41.52% -0.075 0.0691)
OKLCHoklch(41.52% 0.102 137.4)
XYZxyz(4.8141, 7.6391, 2.2575)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E581B #451B58
analogous
#4D581B #2E581B #1B5826
triadic
#2E581B #1B2E58 #581B2E
tetradic
#2E581B #1B4D58 #451B58 #58261B
square
#2E581B #1B4D58 #451B58 #58261B
split-complementary
#2E581B #261B58 #581B4D
monochromatic
#0C1707 #16290D #2E581B #468729 #5FB638

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E581B#FFFFFF#000000##FFFFFF
##2E581B1.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)
#5B5013
Deuteranopia (green-blind)
#554D20
Tritanopia (blue-blind)
#2C554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e581b;
/* rgb */ color: rgb(46, 88, 27);
/* oklch */ color: oklch(41.5% 0.102 137.4);
Tailwind
colors: {
  custom: {
    50: '#6b875a',
    500: '#2e581b',
    950: '#000000',
  },
}
SCSS
$custom: #2e581b;
$custom-light: #6b875a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e581b",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 101.311,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41518,
    "c": 0.10201,
    "h": 137.4
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#2E581B
secondary
#76418E
accent
#4BDCAF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E581B

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

Preview Lab → · Contrast checker → · Palette generator →

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