#2E5719#2E5719

#2E5719 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.102 H 136.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2E5719
RGBrgb(46, 87, 25)
HSLhsl(100, 55%, 22%)
HSVhsv(100, 71%, 34%)
CMYKcmyk(47.1%, 0%, 71.3%, 65.9%)
CIE-LABlab(32.85, -26.89, 30.48)
CIE-LCHlch(32.85, 40.65, 131.43°)
OKLaboklab(41.21% -0.0745 0.07)
OKLCHoklch(41.21% 0.102 136.8)
XYZxyz(4.7102, 7.4671, 2.1126)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5719 #421957
analogous
#4D5719 #2E5719 #195723
triadic
#2E5719 #192E57 #57192E
tetradic
#2E5719 #194D57 #421957 #572319
square
#2E5719 #194D57 #421957 #572319
split-complementary
#2E5719 #231957 #57194D
monochromatic
#0D1807 #15270B #2E5719 #478727 #60B634

Accessibility & contrast

On white

8.42
#2E5719 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5719
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5719#FFFFFF#000000##FFFFFF
##2E57191.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F11
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#2C544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e5719;
/* rgb */ color: rgb(46, 87, 25);
/* oklch */ color: oklch(41.2% 0.102 136.8);
Tailwind
colors: {
  custom: {
    50: '#6b8759',
    500: '#2e5719',
    950: '#000000',
  },
}
SCSS
$custom: #2e5719;
$custom-light: #6b8759;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5719",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 25
  },
  "hsl": {
    "h": 99.677,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41206,
    "c": 0.10223,
    "h": 136.8
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#2E5719
secondary
#733E8D
accent
#49DFAC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E5719

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

Preview Lab → · Contrast checker → · Palette generator →

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