#2E4918#2E4918

#2E4918 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.082 H 133.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#2E4918
RGBrgb(46, 73, 24)
HSLhsl(93, 51%, 19%)
HSVhsv(93, 67%, 29%)
CMYKcmyk(37%, 0%, 67.1%, 71.4%)
CIE-LABlab(27.88, -20.06, 25.52)
CIE-LCHlch(27.88, 32.46, 128.18°)
OKLaboklab(37.14% -0.0559 0.0594)
OKLCHoklch(37.14% 0.082 133.3)
XYZxyz(3.6741, 5.4117, 1.7150)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4918 #331849
analogous
#474918 #2E4918 #18491B
triadic
#2E4918 #182E49 #49182E
tetradic
#2E4918 #184749 #331849 #491B18
square
#2E4918 #184749 #331849 #491B18
split-complementary
#2E4918 #1B1849 #491847
monochromatic
#0F1708 #111B09 #2E4918 #4B7727 #68A536

Accessibility & contrast

On white

10.08
#2E4918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E4918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4918
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4918#FFFFFF#000000##FFFFFF
##2E49181.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#48411C
Tritanopia (blue-blind)
#2E463F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4918;
/* rgb */ color: rgb(46, 73, 24);
/* oklch */ color: oklch(37.1% 0.082 133.3);
Tailwind
colors: {
  custom: {
    50: '#697c57',
    500: '#2e4918',
    950: '#000000',
  },
}
SCSS
$custom: #2e4918;
$custom-light: #697c57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4918",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 93.061,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37143,
    "c": 0.08157,
    "h": 133.3
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#2E4918
secondary
#623D80
accent
#4EDA9B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4918

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

Preview Lab → · Contrast checker → · Palette generator →

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