#2E4814#2E4814

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

Color values

HEX#2E4814
RGBrgb(46, 72, 20)
HSLhsl(90, 57%, 18%)
HSVhsv(90, 72%, 28%)
CMYKcmyk(36.1%, 0%, 72.2%, 71.8%)
CIE-LABlab(27.48, -19.96, 27.13)
CIE-LCHlch(27.48, 33.68, 126.34°)
OKLaboklab(36.81% -0.056 0.0622)
OKLCHoklch(36.81% 0.084 132)
XYZxyz(3.5703, 5.2660, 1.4900)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4814 #2E1448
analogous
#484814 #2E4814 #144814
triadic
#2E4814 #142E48 #48142E
tetradic
#2E4814 #144848 #2E1448 #481414
square
#2E4814 #144848 #2E1448 #481414
split-complementary
#2E4814 #141448 #481448
monochromatic
#0F1807 #0F1807 #2E4814 #4D7821 #6BA82F

Accessibility & contrast

On white

10.23
#2E4814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4814
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4814#FFFFFF#000000##FFFFFF
##2E48141.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4814;
/* rgb */ color: rgb(46, 72, 20);
/* oklch */ color: oklch(36.8% 0.084 132.0);
Tailwind
colors: {
  custom: {
    50: '#697b54',
    500: '#2e4814',
    950: '#000000',
  },
}
SCSS
$custom: #2e4814;
$custom-light: #697b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4814",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36806,
    "c": 0.08373,
    "h": 132
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#2E4814
secondary
#5C3880
accent
#48E094
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4814

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

Preview Lab → · Contrast checker → · Palette generator →

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