#2E7117#2E7117

#2E7117 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.139 H 139.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2E7117
RGBrgb(46, 113, 23)
HSLhsl(105, 66%, 27%)
HSVhsv(105, 80%, 44%)
CMYKcmyk(59.3%, 0%, 79.6%, 55.7%)
CIE-LABlab(41.93, -38.26, 40.59)
CIE-LCHlch(41.93, 55.78, 133.30°)
OKLaboklab(48.67% -0.1053 0.0909)
OKLCHoklch(48.67% 0.139 139.2)
XYZxyz(7.1862, 12.4523, 2.8353)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7117 #5A1771
analogous
#5B7117 #2E7117 #17712D
triadic
#2E7117 #172E71 #71172E
tetradic
#2E7117 #175B71 #5A1771 #712D17
square
#2E7117 #175B71 #5A1771 #712D17
split-complementary
#2E7117 #2D1771 #71175B
monochromatic
#0A1905 #193E0D #2E7117 #43A421 #59D42E

Accessibility & contrast

On white

6.02
#2E7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2E7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7117
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7117#FFFFFF#000000##FFFFFF
##2E71171.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#276D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e7117;
/* rgb */ color: rgb(46, 113, 23);
/* oklch */ color: oklch(48.7% 0.139 139.2);
Tailwind
colors: {
  custom: {
    50: '#6f9a5b',
    500: '#2e7117',
    950: '#000000',
  },
}
SCSS
$custom: #2e7117;
$custom-light: #6f9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7117",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 104.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48671,
    "c": 0.13914,
    "h": 139.2
  },
  "luminance": 0.12453
}

Semantic roles & 50–950 ramp

primary
#2E7117
secondary
#8C3DA7
accent
#3FE9BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7117

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

Preview Lab → · Contrast checker → · Palette generator →

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