#2E5419#2E5419

#2E5419 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.098 H 136.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2E5419
RGBrgb(46, 84, 25)
HSLhsl(99, 54%, 21%)
HSVhsv(99, 70%, 33%)
CMYKcmyk(45.2%, 0%, 70.2%, 67.1%)
CIE-LABlab(31.79, -25.47, 29.33)
CIE-LCHlch(31.79, 38.85, 130.97°)
OKLaboklab(40.34% -0.0706 0.0676)
OKLCHoklch(40.34% 0.098 136.3)
XYZxyz(4.4724, 6.9914, 2.0333)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5419 #3F1954
analogous
#4C5419 #2E5419 #195422
triadic
#2E5419 #192E54 #54192E
tetradic
#2E5419 #194C54 #3F1954 #542219
square
#2E5419 #194C54 #3F1954 #542219
split-complementary
#2E5419 #221954 #54194C
monochromatic
#0D1807 #14250B #2E5419 #488327 #62B235

Accessibility & contrast

On white

8.76
#2E5419 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E5419 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5419
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5419#FFFFFF#000000##FFFFFF
##2E54191.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D12
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#2D5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e5419;
/* rgb */ color: rgb(46, 84, 25);
/* oklch */ color: oklch(40.3% 0.098 136.3);
Tailwind
colors: {
  custom: {
    50: '#6a8459',
    500: '#2e5419',
    950: '#000000',
  },
}
SCSS
$custom: #2e5419;
$custom-light: #6a8459;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5419",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 25
  },
  "hsl": {
    "h": 98.644,
    "s": 54.128,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.09775,
    "h": 136.3
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#2E5419
secondary
#6F3E8A
accent
#4ADDA9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5419

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

Preview Lab → · Contrast checker → · Palette generator →

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