#2E5813#2E5813

#2E5813 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.108 H 135.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2E5813
RGBrgb(46, 88, 19)
HSLhsl(97, 64%, 21%)
HSVhsv(97, 78%, 35%)
CMYKcmyk(47.7%, 0%, 78.4%, 65.5%)
CIE-LABlab(33.15, -27.89, 33.47)
CIE-LCHlch(33.15, 43.57, 129.81°)
OKLaboklab(41.44% -0.0777 0.0754)
OKLCHoklch(41.44% 0.108 135.9)
XYZxyz(4.7339, 7.6070, 1.8348)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5813 #3D1358
analogous
#505813 #2E5813 #13581A
triadic
#2E5813 #132E58 #58132E
tetradic
#2E5813 #135058 #3D1358 #581A13
square
#2E5813 #135058 #3D1358 #581A13
split-complementary
#2E5813 #1A1358 #581350
monochromatic
#0D1905 #142608 #2E5813 #488A1E #63BD29

Accessibility & contrast

On white

8.33
#2E5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E5813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5813
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5813#FFFFFF#000000##FFFFFF
##2E58131.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5007
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#2C544B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e5813;
/* rgb */ color: rgb(46, 88, 19);
/* oklch */ color: oklch(41.4% 0.108 135.9);
Tailwind
colors: {
  custom: {
    50: '#6b8756',
    500: '#2e5813',
    950: '#000000',
  },
}
SCSS
$custom: #2e5813;
$custom-light: #6b8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5813",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 96.522,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41439,
    "c": 0.10824,
    "h": 135.9
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#2E5813
secondary
#6D3790
accent
#40E7A6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5813

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

Preview Lab → · Contrast checker → · Palette generator →

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