#2E5111#2E5111

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

Color values

HEX#2E5111
RGBrgb(46, 81, 17)
HSLhsl(93, 65%, 19%)
HSVhsv(93, 79%, 32%)
CMYKcmyk(43.2%, 0%, 79%, 68.2%)
CIE-LABlab(30.65, -24.75, 31.80)
CIE-LCHlch(30.65, 40.29, 127.89°)
OKLaboklab(39.39% -0.0693 0.0716)
OKLCHoklch(39.39% 0.1 134.1)
XYZxyz(4.1702, 6.5060, 1.5662)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5111 #341151
analogous
#4E5111 #2E5111 #115114
triadic
#2E5111 #112E51 #51112E
tetradic
#2E5111 #114E51 #341151 #511411
square
#2E5111 #114E51 #341151 #511411
split-complementary
#2E5111 #141151 #51114E
monochromatic
#0E1905 #111E06 #2E5111 #4B841C #67B626

Accessibility & contrast

On white

9.13
#2E5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5111
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5111#FFFFFF#000000##FFFFFF
##2E51111.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e5111;
/* rgb */ color: rgb(46, 81, 17);
/* oklch */ color: oklch(39.4% 0.100 134.1);
Tailwind
colors: {
  custom: {
    50: '#6a8254',
    500: '#2e5111',
    950: '#000000',
  },
}
SCSS
$custom: #2e5111;
$custom-light: #6a8254;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5111",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 92.813,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.09964,
    "h": 134.1
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#2E5111
secondary
#63348A
accent
#40E89C
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5111

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

Preview Lab → · Contrast checker → · Palette generator →

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