#2E4D18#2E4D18

#2E4D18 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.088 H 134.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2E4D18
RGBrgb(46, 77, 24)
HSLhsl(95, 52%, 20%)
HSVhsv(95, 69%, 30%)
CMYKcmyk(40.3%, 0%, 68.8%, 69.8%)
CIE-LABlab(29.30, -22.12, 27.10)
CIE-LCHlch(29.30, 34.98, 129.23°)
OKLaboklab(38.3% -0.0616 0.0627)
OKLCHoklch(38.3% 0.088 134.5)
XYZxyz(3.9454, 5.9544, 1.8054)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D18 #37184D
analogous
#494D18 #2E4D18 #184D1C
triadic
#2E4D18 #182E4D #4D182E
tetradic
#2E4D18 #18494D #37184D #4D1C18
square
#2E4D18 #18494D #37184D #4D1C18
split-complementary
#2E4D18 #1C184D #4D1849
monochromatic
#0E1707 #121E09 #2E4D18 #4A7C27 #66AA35

Accessibility & contrast

On white

9.58
#2E4D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E4D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D18
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D18#FFFFFF#000000##FFFFFF
##2E4D181.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504712
Deuteranopia (green-blind)
#4C441C
Tritanopia (blue-blind)
#2E4A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e4d18;
/* rgb */ color: rgb(46, 77, 24);
/* oklch */ color: oklch(38.3% 0.088 134.5);
Tailwind
colors: {
  custom: {
    50: '#697f57',
    500: '#2e4d18',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d18;
$custom-light: #697f57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d18",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 95.094,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.383,
    "c": 0.0879,
    "h": 134.5
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#2E4D18
secondary
#663D84
accent
#4CDCA0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4D18

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

Preview Lab → · Contrast checker → · Palette generator →

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