#2E4A18#2E4A18

#2E4A18 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.083 H 133.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2E4A18
RGBrgb(46, 74, 24)
HSLhsl(94, 51%, 19%)
HSVhsv(94, 68%, 29%)
CMYKcmyk(37.8%, 0%, 67.6%, 71%)
CIE-LABlab(28.23, -20.59, 25.91)
CIE-LCHlch(28.23, 33.10, 128.46°)
OKLaboklab(37.43% -0.0574 0.0602)
OKLCHoklch(37.43% 0.083 133.6)
XYZxyz(3.7403, 5.5442, 1.7370)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A18 #34184A
analogous
#474A18 #2E4A18 #184A1B
triadic
#2E4A18 #182E4A #4A182E
tetradic
#2E4A18 #18474A #34184A #4A1B18
square
#2E4A18 #18474A #34184A #4A1B18
split-complementary
#2E4A18 #1B184A #4A1847
monochromatic
#0E1707 #111C09 #2E4A18 #4B7827 #67A636

Accessibility & contrast

On white

9.96
#2E4A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E4A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A18
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A18#FFFFFF#000000##FFFFFF
##2E4A181.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4412
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#2E473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4a18;
/* rgb */ color: rgb(46, 74, 24);
/* oklch */ color: oklch(37.4% 0.083 133.6);
Tailwind
colors: {
  custom: {
    50: '#697c57',
    500: '#2e4a18',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a18;
$custom-light: #697c57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a18",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 93.6,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37432,
    "c": 0.08317,
    "h": 133.6
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#2E4A18
secondary
#633D81
accent
#4DDA9C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4A18

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

Preview Lab → · Contrast checker → · Palette generator →

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