#2E5A11#2E5A11

#2E5A11 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.112 H 135.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2E5A11
RGBrgb(46, 90, 17)
HSLhsl(96, 68%, 21%)
HSVhsv(96, 81%, 35%)
CMYKcmyk(48.9%, 0%, 81.1%, 64.7%)
CIE-LABlab(33.84, -28.96, 34.95)
CIE-LCHlch(33.84, 45.39, 129.64°)
OKLaboklab(42% -0.0807 0.0782)
OKLCHoklch(42% 0.112 135.9)
XYZxyz(4.8839, 7.9333, 1.8041)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A11 #3D115A
analogous
#525A11 #2E5A11 #115A18
triadic
#2E5A11 #112E5A #5A112E
tetradic
#2E5A11 #11525A #3D115A #5A1811
square
#2E5A11 #11525A #3D115A #5A1811
split-complementary
#2E5A11 #18115A #5A1152
monochromatic
#0D1A05 #142707 #2E5A11 #488D1B #63C124

Accessibility & contrast

On white

8.12
#2E5A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E5A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5A11
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A11#FFFFFF#000000##FFFFFF
##2E5A111.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5203
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#2C564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5a11;
/* rgb */ color: rgb(46, 90, 17);
/* oklch */ color: oklch(42.0% 0.112 135.9);
Tailwind
colors: {
  custom: {
    50: '#6c8955',
    500: '#2e5a11',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a11;
$custom-light: #6c8955;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a11",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 96.164,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42003,
    "c": 0.11234,
    "h": 135.9
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#2E5A11
secondary
#6D3493
accent
#3DEBA6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5A11

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

Preview Lab → · Contrast checker → · Palette generator →

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