#2E5516#2E5516

#2E5516 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.102 H 135.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2E5516
RGBrgb(46, 85, 22)
HSLhsl(97, 59%, 21%)
HSVhsv(97, 74%, 33%)
CMYKcmyk(45.9%, 0%, 74.1%, 66.7%)
CIE-LABlab(32.11, -26.24, 31.10)
CIE-LCHlch(32.11, 40.69, 130.16°)
OKLaboklab(40.6% -0.0729 0.0709)
OKLCHoklch(40.6% 0.102 135.8)
XYZxyz(4.5199, 7.1355, 1.8980)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5516 #3D1655
analogous
#4D5516 #2E5516 #16551D
triadic
#2E5516 #162E55 #55162E
tetradic
#2E5516 #164D55 #3D1655 #551D16
square
#2E5516 #164D55 #3D1655 #551D16
split-complementary
#2E5516 #1D1655 #55164D
monochromatic
#0D1806 #142409 #2E5516 #488623 #63B62F

Accessibility & contrast

On white

8.65
#2E5516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2E5516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5516
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5516#FFFFFF#000000##FFFFFF
##2E55161.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0D
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#2D5248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e5516;
/* rgb */ color: rgb(46, 85, 22);
/* oklch */ color: oklch(40.6% 0.102 135.8);
Tailwind
colors: {
  custom: {
    50: '#6b8557',
    500: '#2e5516',
    950: '#000000',
  },
}
SCSS
$custom: #2e5516;
$custom-light: #6b8557;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5516",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 22
  },
  "hsl": {
    "h": 97.143,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40596,
    "c": 0.10172,
    "h": 135.8
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#2E5516
secondary
#6D3A8C
accent
#46E2A7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5516

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

Preview Lab → · Contrast checker → · Palette generator →

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