#2E4218#2E4218

#2E4218 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.070 H 130.5°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2E4218
RGBrgb(46, 66, 24)
HSLhsl(89, 47%, 18%)
HSVhsv(89, 64%, 26%)
CMYKcmyk(30.3%, 0%, 63.6%, 74.1%)
CIE-LABlab(25.39, -16.29, 22.68)
CIE-LCHlch(25.39, 27.93, 125.69°)
OKLaboklab(35.12% -0.0455 0.0533)
OKLCHoklch(35.12% 0.07 130.5)
XYZxyz(3.2398, 4.5431, 1.5702)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4218 #2C1842
analogous
#424118 #2E4218 #194218
triadic
#2E4218 #182E42 #42182E
tetradic
#2E4218 #184241 #2C1842 #421819
square
#2E4218 #184241 #2C1842 #421819
split-complementary
#2E4218 #181942 #411842
monochromatic
#101608 #101608 #2E4218 #4D6F28 #6D9C39

Accessibility & contrast

On white

11.00
#2E4218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E4218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4218
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4218#FFFFFF#000000##FFFFFF
##2E42181.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D14
Deuteranopia (green-blind)
#423C1B
Tritanopia (blue-blind)
#2F3F39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e4218;
/* rgb */ color: rgb(46, 66, 24);
/* oklch */ color: oklch(35.1% 0.070 130.5);
Tailwind
colors: {
  custom: {
    50: '#687656',
    500: '#2e4218',
    950: '#000000',
  },
}
SCSS
$custom: #2e4218;
$custom-light: #687656;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4218",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 24
  },
  "hsl": {
    "h": 88.571,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35124,
    "c": 0.0701,
    "h": 130.5
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#2E4218
secondary
#593D79
accent
#51D691
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E4218

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

Preview Lab → · Contrast checker → · Palette generator →

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