#2E5113#2E5113

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

Color values

HEX#2E5113
RGBrgb(46, 81, 19)
HSLhsl(94, 62%, 20%)
HSVhsv(94, 77%, 32%)
CMYKcmyk(43.2%, 0%, 76.5%, 68.2%)
CIE-LABlab(30.67, -24.58, 30.95)
CIE-LCHlch(30.67, 39.53, 128.46°)
OKLaboklab(39.41% -0.0687 0.0701)
OKLCHoklch(39.41% 0.098 134.4)
XYZxyz(4.1866, 6.5125, 1.6524)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5113 #361351
analogous
#4D5113 #2E5113 #135117
triadic
#2E5113 #132E51 #51132E
tetradic
#2E5113 #134D51 #361351 #511713
square
#2E5113 #134D51 #361351 #511713
split-complementary
#2E5113 #171351 #51134D
monochromatic
#0E1906 #121F07 #2E5113 #4A831F #66B42A

Accessibility & contrast

On white

9.12
#2E5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5113
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5113#FFFFFF#000000##FFFFFF
##2E51131.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#2E4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e5113;
/* rgb */ color: rgb(46, 81, 19);
/* oklch */ color: oklch(39.4% 0.098 134.4);
Tailwind
colors: {
  custom: {
    50: '#6a8255',
    500: '#2e5113',
    950: '#000000',
  },
}
SCSS
$custom: #2e5113;
$custom-light: #6a8255;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5113",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 93.871,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39407,
    "c": 0.09817,
    "h": 134.4
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#2E5113
secondary
#65368A
accent
#43E59E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5113

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

Preview Lab → · Contrast checker → · Palette generator →

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