#2E5519#2E5519

#2E5519 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.099 H 136.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2E5519
RGBrgb(46, 85, 25)
HSLhsl(99, 55%, 22%)
HSVhsv(99, 71%, 33%)
CMYKcmyk(45.9%, 0%, 70.6%, 66.7%)
CIE-LABlab(32.14, -25.95, 29.71)
CIE-LCHlch(32.14, 39.45, 131.13°)
OKLaboklab(40.63% -0.0719 0.0684)
OKLCHoklch(40.63% 0.099 136.4)
XYZxyz(4.5506, 7.1478, 2.0594)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5519 #401955
analogous
#4C5519 #2E5519 #195522
triadic
#2E5519 #192E55 #55192E
tetradic
#2E5519 #194C55 #401955 #552219
square
#2E5519 #194C55 #401955 #552219
split-complementary
#2E5519 #221955 #55194C
monochromatic
#0D1807 #14260B #2E5519 #488427 #61B435

Accessibility & contrast

On white

8.64
#2E5519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2E5519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5519
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5519#FFFFFF#000000##FFFFFF
##2E55191.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E11
Deuteranopia (green-blind)
#534A1E
Tritanopia (blue-blind)
#2C5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e5519;
/* rgb */ color: rgb(46, 85, 25);
/* oklch */ color: oklch(40.6% 0.099 136.4);
Tailwind
colors: {
  custom: {
    50: '#6a8559',
    500: '#2e5519',
    950: '#000000',
  },
}
SCSS
$custom: #2e5519;
$custom-light: #6a8559;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5519",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 25
  },
  "hsl": {
    "h": 99,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40628,
    "c": 0.09925,
    "h": 136.4
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#2E5519
secondary
#703E8B
accent
#4ADEAA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5519

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

Preview Lab → · Contrast checker → · Palette generator →

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