#2E5716#2E5716

#2E5716 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.105 H 136.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2E5716
RGBrgb(46, 87, 22)
HSLhsl(98, 60%, 21%)
HSVhsv(98, 75%, 34%)
CMYKcmyk(47.1%, 0%, 74.7%, 65.9%)
CIE-LABlab(32.82, -27.18, 31.84)
CIE-LCHlch(32.82, 41.86, 130.49°)
OKLaboklab(41.18% -0.0755 0.0724)
OKLCHoklch(41.18% 0.105 136.2)
XYZxyz(4.6796, 7.4549, 1.9513)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5716 #3F1657
analogous
#4F5716 #2E5716 #16571F
triadic
#2E5716 #162E57 #57162E
tetradic
#2E5716 #164F57 #3F1657 #571F16
square
#2E5716 #164F57 #3F1657 #571F16
split-complementary
#2E5716 #1F1657 #57164F
monochromatic
#0D1806 #14260A #2E5716 #488822 #62B92F

Accessibility & contrast

On white

8.43
#2E5716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E5716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5716
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5716#FFFFFF#000000##FFFFFF
##2E57161.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0C
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#2C544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e5716;
/* rgb */ color: rgb(46, 87, 22);
/* oklch */ color: oklch(41.2% 0.105 136.2);
Tailwind
colors: {
  custom: {
    50: '#6b8757',
    500: '#2e5716',
    950: '#000000',
  },
}
SCSS
$custom: #2e5716;
$custom-light: #6b8757;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5716",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 22
  },
  "hsl": {
    "h": 97.846,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.10463,
    "h": 136.2
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#2E5716
secondary
#6F3A8E
accent
#45E3A9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5716

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

Preview Lab → · Contrast checker → · Palette generator →

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