#2E5112#2E5112

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

Color values

HEX#2E5112
RGBrgb(46, 81, 18)
HSLhsl(93, 64%, 19%)
HSVhsv(93, 78%, 32%)
CMYKcmyk(43.2%, 0%, 77.8%, 68.2%)
CIE-LABlab(30.66, -24.67, 31.38)
CIE-LCHlch(30.66, 39.91, 128.17°)
OKLaboklab(39.4% -0.069 0.0709)
OKLCHoklch(39.4% 0.099 134.3)
XYZxyz(4.1782, 6.5092, 1.6084)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5112 #351251
analogous
#4E5112 #2E5112 #125116
triadic
#2E5112 #122E51 #51122E
tetradic
#2E5112 #124E51 #351251 #511612
square
#2E5112 #124E51 #351251 #511612
split-complementary
#2E5112 #161251 #51124E
monochromatic
#0E1906 #121F07 #2E5112 #4A831D #67B528

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5112#FFFFFF#000000##FFFFFF
##2E51121.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)
#544A08
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#2E4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e5112;
/* rgb */ color: rgb(46, 81, 18);
/* oklch */ color: oklch(39.4% 0.099 134.3);
Tailwind
colors: {
  custom: {
    50: '#6a8254',
    500: '#2e5112',
    950: '#000000',
  },
}
SCSS
$custom: #2e5112;
$custom-light: #6a8254;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5112",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 93.333,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39398,
    "c": 0.09892,
    "h": 134.3
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#2E5112
secondary
#64358A
accent
#41E79D
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5112

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

Preview Lab → · Contrast checker → · Palette generator →

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