#2E5311#2E5311

#2E5311 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.0% C 0.103 H 134.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2E5311
RGBrgb(46, 83, 17)
HSLhsl(94, 66%, 20%)
HSVhsv(94, 80%, 33%)
CMYKcmyk(44.6%, 0%, 79.5%, 67.5%)
CIE-LABlab(31.36, -25.71, 32.51)
CIE-LCHlch(31.36, 41.44, 128.34°)
OKLaboklab(39.97% -0.0719 0.0731)
OKLCHoklch(39.97% 0.103 134.6)
XYZxyz(4.3211, 6.8076, 1.6165)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5311 #361153
analogous
#4F5311 #2E5311 #115315
triadic
#2E5311 #112E53 #53112E
tetradic
#2E5311 #114F53 #361153 #531511
square
#2E5311 #114F53 #361153 #531511
split-complementary
#2E5311 #151153 #53114F
monochromatic
#0E1905 #122007 #2E5311 #4A861B #66B926

Accessibility & contrast

On white

8.89
#2E5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5311
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5311#FFFFFF#000000##FFFFFF
##2E53111.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C05
Deuteranopia (green-blind)
#514917
Tritanopia (blue-blind)
#2D5046
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e5311;
/* rgb */ color: rgb(46, 83, 17);
/* oklch */ color: oklch(40.0% 0.103 134.6);
Tailwind
colors: {
  custom: {
    50: '#6b8354',
    500: '#2e5311',
    950: '#000000',
  },
}
SCSS
$custom: #2e5311;
$custom-light: #6b8354;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5311",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 93.636,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.10252,
    "h": 134.6
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#2E5311
secondary
#65348C
accent
#3FE99E
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5311

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

Preview Lab → · Contrast checker → · Palette generator →

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