#2E5216#2E5216

#2E5216 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.7% C 0.097 H 135.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2E5216
RGBrgb(46, 82, 22)
HSLhsl(96, 58%, 20%)
HSVhsv(96, 73%, 32%)
CMYKcmyk(43.9%, 0%, 73.2%, 67.8%)
CIE-LABlab(31.05, -24.80, 29.98)
CIE-LCHlch(31.05, 38.91, 129.60°)
OKLaboklab(39.73% -0.069 0.0685)
OKLCHoklch(39.73% 0.097 135.2)
XYZxyz(4.2887, 6.6731, 1.8210)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5216 #3A1652
analogous
#4C5216 #2E5216 #16521C
triadic
#2E5216 #162E52 #52162E
tetradic
#2E5216 #164C52 #3A1652 #521C16
square
#2E5216 #164C52 #3A1652 #521C16
split-complementary
#2E5216 #1C1652 #52164C
monochromatic
#0E1806 #132209 #2E5216 #498223 #64B330

Accessibility & contrast

On white

9.00
#2E5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E5216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5216
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5216#FFFFFF#000000##FFFFFF
##2E52161.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0E
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#2D4F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e5216;
/* rgb */ color: rgb(46, 82, 22);
/* oklch */ color: oklch(39.7% 0.097 135.2);
Tailwind
colors: {
  custom: {
    50: '#6a8357',
    500: '#2e5216',
    950: '#000000',
  },
}
SCSS
$custom: #2e5216;
$custom-light: #6a8357;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5216",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 96,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39727,
    "c": 0.09728,
    "h": 135.2
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#2E5216
secondary
#6A3A89
accent
#47E1A3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5216

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

Preview Lab → · Contrast checker → · Palette generator →

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