#2E5713#2E5713

#2E5713 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.1% C 0.107 H 135.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2E5713
RGBrgb(46, 87, 19)
HSLhsl(96, 64%, 21%)
HSVhsv(96, 78%, 34%)
CMYKcmyk(47.1%, 0%, 78.2%, 65.9%)
CIE-LABlab(32.80, -27.43, 33.11)
CIE-LCHlch(32.80, 43.00, 129.64°)
OKLaboklab(41.15% -0.0764 0.0746)
OKLCHoklch(41.15% 0.107 135.7)
XYZxyz(4.6523, 7.4440, 1.8077)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5713 #3C1357
analogous
#505713 #2E5713 #13571A
triadic
#2E5713 #132E57 #57132E
tetradic
#2E5713 #135057 #3C1357 #571A13
square
#2E5713 #135057 #3C1357 #571A13
split-complementary
#2E5713 #1A1357 #571350
monochromatic
#0D1905 #132508 #2E5713 #49891E #63BB29

Accessibility & contrast

On white

8.44
#2E5713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E5713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5713
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5713#FFFFFF#000000##FFFFFF
##2E57131.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F07
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#2D534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e5713;
/* rgb */ color: rgb(46, 87, 19);
/* oklch */ color: oklch(41.1% 0.107 135.7);
Tailwind
colors: {
  custom: {
    50: '#6b8756',
    500: '#2e5713',
    950: '#000000',
  },
}
SCSS
$custom: #2e5713;
$custom-light: #6b8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5713",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 19
  },
  "hsl": {
    "h": 96.176,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41149,
    "c": 0.10683,
    "h": 135.7
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#2E5713
secondary
#6C368F
accent
#41E7A5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5713

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

Preview Lab → · Contrast checker → · Palette generator →

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