#2E5411#2E5411

#2E5411 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.104 H 134.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2E5411
RGBrgb(46, 84, 17)
HSLhsl(94, 66%, 20%)
HSVhsv(94, 80%, 33%)
CMYKcmyk(45.2%, 0%, 79.8%, 67.1%)
CIE-LABlab(31.72, -26.18, 32.86)
CIE-LCHlch(31.72, 42.02, 128.55°)
OKLaboklab(40.26% -0.0732 0.0738)
OKLCHoklch(40.26% 0.104 134.8)
XYZxyz(4.3981, 6.9617, 1.6422)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5411 #371154
analogous
#505411 #2E5411 #115416
triadic
#2E5411 #112E54 #54112E
tetradic
#2E5411 #115054 #371154 #541611
square
#2E5411 #115054 #371154 #541611
split-complementary
#2E5411 #161154 #541150
monochromatic
#0E1905 #122107 #2E5411 #4A871B #66BA26

Accessibility & contrast

On white

8.78
#2E5411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2E5411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5411
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5411#FFFFFF#000000##FFFFFF
##2E54111.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D05
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#2D5047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e5411;
/* rgb */ color: rgb(46, 84, 17);
/* oklch */ color: oklch(40.3% 0.104 134.8);
Tailwind
colors: {
  custom: {
    50: '#6b8454',
    500: '#2e5411',
    950: '#000000',
  },
}
SCSS
$custom: #2e5411;
$custom-light: #6b8454;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5411",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 94.03,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40261,
    "c": 0.10395,
    "h": 134.8
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#2E5411
secondary
#66348D
accent
#3FE99F
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5411

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

Preview Lab → · Contrast checker → · Palette generator →

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