#2E5116#2E5116

#2E5116 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.4% C 0.096 H 135.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2E5116
RGBrgb(46, 81, 22)
HSLhsl(96, 57%, 20%)
HSVhsv(96, 73%, 32%)
CMYKcmyk(43.2%, 0%, 72.8%, 68.2%)
CIE-LABlab(30.70, -24.31, 29.60)
CIE-LCHlch(30.70, 38.30, 129.40°)
OKLaboklab(39.44% -0.0677 0.0677)
OKLCHoklch(39.44% 0.096 135)
XYZxyz(4.2139, 6.5234, 1.7960)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5116 #391651
analogous
#4C5116 #2E5116 #16511B
triadic
#2E5116 #162E51 #51162E
tetradic
#2E5116 #164C51 #391651 #511B16
square
#2E5116 #164C51 #391651 #511B16
split-complementary
#2E5116 #1B1651 #51164C
monochromatic
#0E1807 #132109 #2E5116 #498123 #65B130

Accessibility & contrast

On white

9.11
#2E5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5116
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5116#FFFFFF#000000##FFFFFF
##2E51161.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#2D4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e5116;
/* rgb */ color: rgb(46, 81, 22);
/* oklch */ color: oklch(39.4% 0.096 135.0);
Tailwind
colors: {
  custom: {
    50: '#6a8257',
    500: '#2e5116',
    950: '#000000',
  },
}
SCSS
$custom: #2e5116;
$custom-light: #6a8257;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5116",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 95.593,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.09578,
    "h": 135
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#2E5116
secondary
#693A88
accent
#47E1A2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5116

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

Preview Lab → · Contrast checker → · Palette generator →

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