#2E4816#2E4816

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

Color values

HEX#2E4816
RGBrgb(46, 72, 22)
HSLhsl(91, 53%, 18%)
HSVhsv(91, 69%, 28%)
CMYKcmyk(36.1%, 0%, 69.4%, 71.8%)
CIE-LABlab(27.50, -19.76, 26.14)
CIE-LCHlch(27.50, 32.77, 127.09°)
OKLaboklab(36.83% -0.0553 0.0604)
OKLCHoklch(36.83% 0.082 132.5)
XYZxyz(3.5888, 5.2734, 1.5877)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4816 #301648
analogous
#474816 #2E4816 #164817
triadic
#2E4816 #162E48 #48162E
tetradic
#2E4816 #164748 #301648 #481716
square
#2E4816 #164748 #301648 #481716
split-complementary
#2E4816 #171648 #481647
monochromatic
#0F1707 #101908 #2E4816 #4C7724 #6AA633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4816#FFFFFF#000000##FFFFFF
##2E48161.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)
#4B4210
Deuteranopia (green-blind)
#48401A
Tritanopia (blue-blind)
#2F453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e4816;
/* rgb */ color: rgb(46, 72, 22);
/* oklch */ color: oklch(36.8% 0.082 132.5);
Tailwind
colors: {
  custom: {
    50: '#697b56',
    500: '#2e4816',
    950: '#000000',
  },
}
SCSS
$custom: #2e4816;
$custom-light: #697b56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4816",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 22
  },
  "hsl": {
    "h": 91.2,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36829,
    "c": 0.0819,
    "h": 132.5
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#2E4816
secondary
#5E3A7F
accent
#4BDD97
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4816

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

Preview Lab → · Contrast checker → · Palette generator →

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