#2E4815#2E4815

#2E4815 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.083 H 132.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2E4815
RGBrgb(46, 72, 21)
HSLhsl(91, 55%, 18%)
HSVhsv(91, 71%, 28%)
CMYKcmyk(36.1%, 0%, 70.8%, 71.8%)
CIE-LABlab(27.49, -19.86, 26.64)
CIE-LCHlch(27.49, 33.23, 126.71°)
OKLaboklab(36.82% -0.0557 0.0613)
OKLCHoklch(36.82% 0.083 132.2)
XYZxyz(3.5794, 5.2696, 1.5379)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4815 #2F1548
analogous
#474815 #2E4815 #154815
triadic
#2E4815 #152E48 #48152E
tetradic
#2E4815 #154748 #2F1548 #481515
square
#2E4815 #154748 #2F1548 #481515
split-complementary
#2E4815 #151548 #481547
monochromatic
#0F1807 #101907 #2E4815 #4C7723 #6BA731

Accessibility & contrast

On white

10.22
#2E4815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E4815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4815
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4815#FFFFFF#000000##FFFFFF
##2E48151.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420F
Deuteranopia (green-blind)
#484019
Tritanopia (blue-blind)
#2F453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e4815;
/* rgb */ color: rgb(46, 72, 21);
/* oklch */ color: oklch(36.8% 0.083 132.2);
Tailwind
colors: {
  custom: {
    50: '#697b55',
    500: '#2e4815',
    950: '#000000',
  },
}
SCSS
$custom: #2e4815;
$custom-light: #697b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4815",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 21
  },
  "hsl": {
    "h": 90.588,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36817,
    "c": 0.08283,
    "h": 132.2
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#2E4815
secondary
#5D3980
accent
#4ADE95
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4815

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

Preview Lab → · Contrast checker → · Palette generator →

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