#2E7011#2E7011

#2E7011 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.141 H 138.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2E7011
RGBrgb(46, 112, 17)
HSLhsl(102, 74%, 25%)
HSVhsv(102, 85%, 44%)
CMYKcmyk(58.9%, 0%, 84.8%, 56.1%)
CIE-LABlab(41.55, -38.24, 42.25)
CIE-LCHlch(41.55, 56.99, 132.15°)
OKLaboklab(48.35% -0.1057 0.0934)
OKLCHoklch(48.35% 0.141 138.5)
XYZxyz(7.0218, 12.2091, 2.5168)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7011 #531170
analogous
#5D7011 #2E7011 #117023
triadic
#2E7011 #112E70 #70112E
tetradic
#2E7011 #115D70 #531170 #702311
square
#2E7011 #115D70 #531170 #702311
split-complementary
#2E7011 #231170 #70115D
monochromatic
#0B1B04 #183B09 #2E7011 #44A519 #5ADA21

Accessibility & contrast

On white

6.10
#2E7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2E7011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7011
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7011#FFFFFF#000000##FFFFFF
##2E70111.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#286C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e7011;
/* rgb */ color: rgb(46, 112, 17);
/* oklch */ color: oklch(48.3% 0.141 138.5);
Tailwind
colors: {
  custom: {
    50: '#6f9a59',
    500: '#2e7011',
    950: '#000000',
  },
}
SCSS
$custom: #2e7011;
$custom-light: #6f9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7011",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 101.684,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.14104,
    "h": 138.5
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#2E7011
secondary
#8535A7
accent
#37F0B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7011

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

Preview Lab → · Contrast checker → · Palette generator →

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