#2E4E18#2E4E18

#2E4E18 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.089 H 134.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2E4E18
RGBrgb(46, 78, 24)
HSLhsl(96, 53%, 20%)
HSVhsv(96, 69%, 31%)
CMYKcmyk(41%, 0%, 69.2%, 69.4%)
CIE-LABlab(29.65, -22.63, 27.49)
CIE-LCHlch(29.65, 35.60, 129.46°)
OKLaboklab(38.59% -0.063 0.0636)
OKLCHoklch(38.59% 0.089 134.7)
XYZxyz(4.0159, 6.0954, 1.8289)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E18 #38184E
analogous
#494E18 #2E4E18 #184E1D
triadic
#2E4E18 #182E4E #4E182E
tetradic
#2E4E18 #18494E #38184E #4E1D18
square
#2E4E18 #18494E #38184E #4E1D18
split-complementary
#2E4E18 #1D184E #4E1849
monochromatic
#0E1707 #121F0A #2E4E18 #4A7D26 #65AC35

Accessibility & contrast

On white

9.46
#2E4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E4E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E18
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E18#FFFFFF#000000##FFFFFF
##2E4E181.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514812
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#2E4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e18;
/* rgb */ color: rgb(46, 78, 24);
/* oklch */ color: oklch(38.6% 0.089 134.7);
Tailwind
colors: {
  custom: {
    50: '#698057',
    500: '#2e4e18',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e18;
$custom-light: #698057;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e18",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 95.556,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.3859,
    "c": 0.08946,
    "h": 134.7
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#2E4E18
secondary
#683D85
accent
#4BDCA1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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