#2E5416#2E5416

#2E5416 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.100 H 135.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2E5416
RGBrgb(46, 84, 22)
HSLhsl(97, 58%, 21%)
HSVhsv(97, 74%, 33%)
CMYKcmyk(45.2%, 0%, 73.8%, 67.1%)
CIE-LABlab(31.76, -25.76, 30.72)
CIE-LCHlch(31.76, 40.10, 129.98°)
OKLaboklab(40.31% -0.0717 0.0701)
OKLCHoklch(40.31% 0.1 135.6)
XYZxyz(4.4417, 6.9792, 1.8720)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5416 #3C1654
analogous
#4D5416 #2E5416 #16541D
triadic
#2E5416 #162E54 #54162E
tetradic
#2E5416 #164D54 #3C1654 #541D16
square
#2E5416 #164D54 #3C1654 #541D16
split-complementary
#2E5416 #1D1654 #54164D
monochromatic
#0D1806 #132409 #2E5416 #498423 #63B52F

Accessibility & contrast

On white

8.77
#2E5416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E5416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5416
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5416#FFFFFF#000000##FFFFFF
##2E54161.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0D
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#2D5147
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e5416;
/* rgb */ color: rgb(46, 84, 22);
/* oklch */ color: oklch(40.3% 0.100 135.6);
Tailwind
colors: {
  custom: {
    50: '#6a8457',
    500: '#2e5416',
    950: '#000000',
  },
}
SCSS
$custom: #2e5416;
$custom-light: #6a8457;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5416",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 22
  },
  "hsl": {
    "h": 96.774,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.10025,
    "h": 135.6
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#2E5416
secondary
#6C3A8B
accent
#46E2A5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5416

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

Preview Lab → · Contrast checker → · Palette generator →

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