#2E5616#2E5616

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

Color values

HEX#2E5616
RGBrgb(46, 86, 22)
HSLhsl(98, 59%, 21%)
HSVhsv(98, 74%, 34%)
CMYKcmyk(46.5%, 0%, 74.4%, 66.3%)
CIE-LABlab(32.47, -26.71, 31.47)
CIE-LCHlch(32.47, 41.27, 130.32°)
OKLaboklab(40.89% -0.0742 0.0717)
OKLCHoklch(40.89% 0.103 136)
XYZxyz(4.5992, 7.2941, 1.9245)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5616 #3E1656
analogous
#4E5616 #2E5616 #16561E
triadic
#2E5616 #162E56 #56162E
tetradic
#2E5616 #164E56 #3E1656 #561E16
square
#2E5616 #164E56 #3E1656 #561E16
split-complementary
#2E5616 #1E1656 #56164E
monochromatic
#0D1806 #14250A #2E5616 #488722 #62B72F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5616#FFFFFF#000000##FFFFFF
##2E56161.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)
#594E0D
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#2D5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e5616;
/* rgb */ color: rgb(46, 86, 22);
/* oklch */ color: oklch(40.9% 0.103 136.0);
Tailwind
colors: {
  custom: {
    50: '#6b8657',
    500: '#2e5616',
    950: '#000000',
  },
}
SCSS
$custom: #2e5616;
$custom-light: #6b8657;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5616",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 22
  },
  "hsl": {
    "h": 97.5,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40886,
    "c": 0.10318,
    "h": 136
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#2E5616
secondary
#6E3A8D
accent
#45E2A8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5616

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

Preview Lab → · Contrast checker → · Palette generator →

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