#2E5618#2E5618

#2E5618 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.102 H 136.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2E5618
RGBrgb(46, 86, 24)
HSLhsl(99, 56%, 22%)
HSVhsv(99, 72%, 34%)
CMYKcmyk(46.5%, 0%, 72.1%, 66.3%)
CIE-LABlab(32.48, -26.52, 30.56)
CIE-LCHlch(32.48, 40.47, 130.95°)
OKLaboklab(40.91% -0.0736 0.0701)
OKLCHoklch(40.91% 0.102 136.4)
XYZxyz(4.6192, 7.3021, 2.0300)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5618 #401856
analogous
#4D5618 #2E5618 #185621
triadic
#2E5618 #182E56 #56182E
tetradic
#2E5618 #184D56 #401856 #562118
square
#2E5618 #184D56 #401856 #562118
split-complementary
#2E5618 #211856 #56184D
monochromatic
#0D1807 #14260B #2E5618 #488625 #61B633

Accessibility & contrast

On white

8.54
#2E5618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2E5618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5618
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5618#FFFFFF#000000##FFFFFF
##2E56181.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F10
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#2C5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e5618;
/* rgb */ color: rgb(46, 86, 24);
/* oklch */ color: oklch(40.9% 0.102 136.4);
Tailwind
colors: {
  custom: {
    50: '#6b8658',
    500: '#2e5618',
    950: '#000000',
  },
}
SCSS
$custom: #2e5618;
$custom-light: #6b8658;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5618",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 98.71,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40906,
    "c": 0.10158,
    "h": 136.4
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#2E5618
secondary
#703D8D
accent
#48E0AA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5618

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

Preview Lab → · Contrast checker → · Palette generator →

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