#2E5918#2E5918

#2E5918 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.106 H 136.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2E5918
RGBrgb(46, 89, 24)
HSLhsl(100, 58%, 22%)
HSVhsv(100, 73%, 35%)
CMYKcmyk(48.3%, 0%, 73%, 65.1%)
CIE-LABlab(33.54, -27.92, 31.69)
CIE-LCHlch(33.54, 42.23, 131.39°)
OKLaboklab(41.78% -0.0774 0.0724)
OKLCHoklch(41.78% 0.106 136.9)
XYZxyz(4.8638, 7.7912, 2.1115)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5918 #431859
analogous
#4F5918 #2E5918 #185922
triadic
#2E5918 #182E59 #59182E
tetradic
#2E5918 #184F59 #431859 #592218
square
#2E5918 #184F59 #431859 #592218
split-complementary
#2E5918 #221859 #59184F
monochromatic
#0C1806 #15290B #2E5918 #478925 #60B932

Accessibility & contrast

On white

8.21
#2E5918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E5918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5918
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5918#FFFFFF#000000##FFFFFF
##2E59181.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#564E1E
Tritanopia (blue-blind)
#2C564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e5918;
/* rgb */ color: rgb(46, 89, 24);
/* oklch */ color: oklch(41.8% 0.106 136.9);
Tailwind
colors: {
  custom: {
    50: '#6b8859',
    500: '#2e5918',
    950: '#000000',
  },
}
SCSS
$custom: #2e5918;
$custom-light: #6b8859;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5918",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 99.692,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41775,
    "c": 0.10597,
    "h": 136.9
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#2E5918
secondary
#743D90
accent
#47E1AD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E5918

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

Preview Lab → · Contrast checker → · Palette generator →

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