#2E5011#2E5011

#2E5011 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.1% C 0.098 H 133.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2E5011
RGBrgb(46, 80, 17)
HSLhsl(92, 65%, 19%)
HSVhsv(92, 79%, 31%)
CMYKcmyk(42.5%, 0%, 78.8%, 68.6%)
CIE-LABlab(30.30, -24.26, 31.44)
CIE-LCHlch(30.30, 39.71, 127.65°)
OKLaboklab(39.1% -0.068 0.0708)
OKLCHoklch(39.1% 0.098 133.8)
XYZxyz(4.0965, 6.3584, 1.5417)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5011 #331150
analogous
#4E5011 #2E5011 #115014
triadic
#2E5011 #112E50 #50112E
tetradic
#2E5011 #114E50 #331150 #501411
square
#2E5011 #114E50 #331150 #501411
split-complementary
#2E5011 #141150 #50114E
monochromatic
#0F1905 #111E06 #2E5011 #4B821C #68B526

Accessibility & contrast

On white

9.24
#2E5011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E5011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5011
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5011#FFFFFF#000000##FFFFFF
##2E50111.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534906
Deuteranopia (green-blind)
#4F4617
Tritanopia (blue-blind)
#2E4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e5011;
/* rgb */ color: rgb(46, 80, 17);
/* oklch */ color: oklch(39.1% 0.098 133.8);
Tailwind
colors: {
  custom: {
    50: '#6a8154',
    500: '#2e5011',
    950: '#000000',
  },
}
SCSS
$custom: #2e5011;
$custom-light: #6a8154;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5011",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 92.381,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.09819,
    "h": 133.8
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#2E5011
secondary
#623389
accent
#40E89B
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5011

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

Preview Lab → · Contrast checker → · Palette generator →

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