#2E5818#2E5818

#2E5818 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.5% C 0.105 H 136.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2E5818
RGBrgb(46, 88, 24)
HSLhsl(99, 57%, 22%)
HSVhsv(99, 73%, 35%)
CMYKcmyk(47.7%, 0%, 72.7%, 65.5%)
CIE-LABlab(33.19, -27.46, 31.31)
CIE-LCHlch(33.19, 41.65, 131.25°)
OKLaboklab(41.49% -0.0761 0.0716)
OKLCHoklch(41.49% 0.105 136.7)
XYZxyz(4.7812, 7.6259, 2.0840)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5818 #421858
analogous
#4E5818 #2E5818 #185822
triadic
#2E5818 #182E58 #58182E
tetradic
#2E5818 #184E58 #421858 #582218
square
#2E5818 #184E58 #421858 #582218
split-complementary
#2E5818 #221858 #58184E
monochromatic
#0D1807 #15280B #2E5818 #478825 #60B832

Accessibility & contrast

On white

8.32
#2E5818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2E5818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5818
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5818#FFFFFF#000000##FFFFFF
##2E58181.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#2C554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e5818;
/* rgb */ color: rgb(46, 88, 24);
/* oklch */ color: oklch(41.5% 0.105 136.7);
Tailwind
colors: {
  custom: {
    50: '#6b8759',
    500: '#2e5818',
    950: '#000000',
  },
}
SCSS
$custom: #2e5818;
$custom-light: #6b8759;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5818",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 99.375,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41485,
    "c": 0.10451,
    "h": 136.7
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#2E5818
secondary
#733D8F
accent
#47E0AC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5818

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

Preview Lab → · Contrast checker → · Palette generator →

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