#2E4819#2E4819

#2E4819 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.079 H 133.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2E4819
RGBrgb(46, 72, 25)
HSLhsl(93, 48%, 19%)
HSVhsv(93, 65%, 28%)
CMYKcmyk(36.1%, 0%, 65.3%, 71.8%)
CIE-LABlab(27.53, -19.43, 24.59)
CIE-LCHlch(27.53, 31.34, 128.30°)
OKLaboklab(36.87% -0.0541 0.0575)
OKLCHoklch(36.87% 0.079 133.2)
XYZxyz(3.6195, 5.2856, 1.7490)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4819 #331948
analogous
#464819 #2E4819 #19481C
triadic
#2E4819 #192E48 #48192E
tetradic
#2E4819 #194648 #331948 #481C19
square
#2E4819 #194648 #331948 #481C19
split-complementary
#2E4819 #1C1948 #481946
monochromatic
#0F1708 #111B09 #2E4819 #4B7529 #68A339

Accessibility & contrast

On white

10.21
#2E4819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E4819 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4819
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4819#FFFFFF#000000##FFFFFF
##2E48191.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4214
Deuteranopia (green-blind)
#47401C
Tritanopia (blue-blind)
#2E453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e4819;
/* rgb */ color: rgb(46, 72, 25);
/* oklch */ color: oklch(36.9% 0.079 133.2);
Tailwind
colors: {
  custom: {
    50: '#697b57',
    500: '#2e4819',
    950: '#000000',
  },
}
SCSS
$custom: #2e4819;
$custom-light: #697b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4819",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 25
  },
  "hsl": {
    "h": 93.191,
    "s": 48.454,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36867,
    "c": 0.07896,
    "h": 133.2
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#2E4819
secondary
#623E7E
accent
#50D89B
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4819

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

Preview Lab → · Contrast checker → · Palette generator →

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