#2E6011#2E6011

#2E6011 is a dark, vivid yellow-green. Relative luminance 0.090; OKLCH L 43.7% C 0.120 H 136.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2E6011
RGBrgb(46, 96, 17)
HSLhsl(98, 70%, 22%)
HSVhsv(98, 82%, 38%)
CMYKcmyk(52.1%, 0%, 82.3%, 62.4%)
CIE-LABlab(35.96, -31.62, 36.99)
CIE-LCHlch(35.96, 48.66, 130.52°)
OKLaboklab(43.74% -0.0879 0.0824)
OKLCHoklch(43.74% 0.12 136.8)
XYZxyz(5.4106, 8.9867, 1.9797)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6011 #431160
analogous
#566011 #2E6011 #11601C
triadic
#2E6011 #112E60 #60112E
tetradic
#2E6011 #115660 #431160 #601C11
square
#2E6011 #115660 #431160 #601C11
split-complementary
#2E6011 #1C1160 #601156
monochromatic
#0C1A05 #152C08 #2E6011 #47941A #60C823

Accessibility & contrast

On white

7.51
#2E6011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E6011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6011
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6011#FFFFFF#000000##FFFFFF
##2E60111.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645701
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#2B5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e6011;
/* rgb */ color: rgb(46, 96, 17);
/* oklch */ color: oklch(43.7% 0.120 136.8);
Tailwind
colors: {
  custom: {
    50: '#6d8e56',
    500: '#2e6011',
    950: '#000000',
  },
}
SCSS
$custom: #2e6011;
$custom-light: #6d8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6011",
  "rgb": {
    "r": 46,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 97.975,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43741,
    "c": 0.12048,
    "h": 136.8
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#2E6011
secondary
#743499
accent
#3BEDAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E6011

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

Preview Lab → · Contrast checker → · Palette generator →

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