#2E5613#2E5613

#2E5613 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.105 H 135.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2E5613
RGBrgb(46, 86, 19)
HSLhsl(96, 64%, 21%)
HSVhsv(96, 78%, 34%)
CMYKcmyk(46.5%, 0%, 77.9%, 66.3%)
CIE-LABlab(32.44, -26.97, 32.75)
CIE-LCHlch(32.44, 42.43, 129.46°)
OKLaboklab(40.86% -0.0752 0.0739)
OKLCHoklch(40.86% 0.105 135.5)
XYZxyz(4.5719, 7.2832, 1.7809)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5613 #3B1356
analogous
#4F5613 #2E5613 #135619
triadic
#2E5613 #132E56 #56132E
tetradic
#2E5613 #134F56 #3B1356 #561913
square
#2E5613 #134F56 #3B1356 #561913
split-complementary
#2E5613 #191356 #56134F
monochromatic
#0D1906 #132408 #2E5613 #49881E #64BA29

Accessibility & contrast

On white

8.55
#2E5613 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2E5613 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5613
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5613#FFFFFF#000000##FFFFFF
##2E56131.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E07
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#2D5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e5613;
/* rgb */ color: rgb(46, 86, 19);
/* oklch */ color: oklch(40.9% 0.105 135.5);
Tailwind
colors: {
  custom: {
    50: '#6b8656',
    500: '#2e5613',
    950: '#000000',
  },
}
SCSS
$custom: #2e5613;
$custom-light: #6b8656;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5613",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 19
  },
  "hsl": {
    "h": 95.821,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.10541,
    "h": 135.5
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#2E5613
secondary
#6B368E
accent
#41E7A4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5613

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

Preview Lab → · Contrast checker → · Palette generator →

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