#2E5911#2E5911

#2E5911 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.7% C 0.111 H 135.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2E5911
RGBrgb(46, 89, 17)
HSLhsl(96, 68%, 21%)
HSVhsv(96, 81%, 35%)
CMYKcmyk(48.3%, 0%, 80.9%, 65.1%)
CIE-LABlab(33.49, -28.50, 34.60)
CIE-LCHlch(33.49, 44.83, 129.48°)
OKLaboklab(41.71% -0.0795 0.0774)
OKLCHoklch(41.71% 0.111 135.7)
XYZxyz(4.8001, 7.7658, 1.7762)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5911 #3C1159
analogous
#525911 #2E5911 #115918
triadic
#2E5911 #112E59 #59112E
tetradic
#2E5911 #115259 #3C1159 #591811
square
#2E5911 #115259 #3C1159 #591811
split-complementary
#2E5911 #181159 #591152
monochromatic
#0D1A05 #132607 #2E5911 #498C1B #63C025

Accessibility & contrast

On white

8.22
#2E5911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E5911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5911
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5911#FFFFFF#000000##FFFFFF
##2E59111.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5103
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#2C554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e5911;
/* rgb */ color: rgb(46, 89, 17);
/* oklch */ color: oklch(41.7% 0.111 135.7);
Tailwind
colors: {
  custom: {
    50: '#6b8855',
    500: '#2e5911',
    950: '#000000',
  },
}
SCSS
$custom: #2e5911;
$custom-light: #6b8855;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5911",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 95.833,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41713,
    "c": 0.11096,
    "h": 135.7
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#2E5911
secondary
#6C3492
accent
#3DEBA5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5911

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

Preview Lab → · Contrast checker → · Palette generator →

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