#2E5C11#2E5C11

#2E5C11 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.6% C 0.115 H 136.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2E5C11
RGBrgb(46, 92, 17)
HSLhsl(97, 69%, 21%)
HSVhsv(97, 82%, 36%)
CMYKcmyk(50%, 0%, 81.5%, 63.9%)
CIE-LABlab(34.55, -29.86, 35.64)
CIE-LCHlch(34.55, 46.49, 129.96°)
OKLaboklab(42.58% -0.0831 0.0796)
OKLCHoklch(42.58% 0.115 136.2)
XYZxyz(5.0549, 8.2753, 1.8611)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C11 #3F115C
analogous
#545C11 #2E5C11 #115C1A
triadic
#2E5C11 #112E5C #5C112E
tetradic
#2E5C11 #11545C #3F115C #5C1A11
square
#2E5C11 #11545C #3F115C #5C1A11
split-complementary
#2E5C11 #1A115C #5C1154
monochromatic
#0D1A05 #142807 #2E5C11 #48901B #62C324

Accessibility & contrast

On white

7.91
#2E5C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E5C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5C11
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C11#FFFFFF#000000##FFFFFF
##2E5C111.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5402
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#2C584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5c11;
/* rgb */ color: rgb(46, 92, 17);
/* oklch */ color: oklch(42.6% 0.115 136.2);
Tailwind
colors: {
  custom: {
    50: '#6c8a55',
    500: '#2e5c11',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c11;
$custom-light: #6c8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c11",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 96.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42583,
    "c": 0.11509,
    "h": 136.2
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#2E5C11
secondary
#6F3495
accent
#3CECA8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5C11

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

Preview Lab → · Contrast checker → · Palette generator →

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