#2E8317#2E8317

#2E8317 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.161 H 140.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2E8317
RGBrgb(46, 131, 23)
HSLhsl(107, 70%, 30%)
HSVhsv(107, 82%, 51%)
CMYKcmyk(64.9%, 0%, 82.4%, 48.6%)
CIE-LABlab(48.10, -45.10, 46.49)
CIE-LCHlch(48.10, 64.77, 134.13°)
OKLaboklab(53.78% -0.1237 0.1032)
OKLCHoklch(53.78% 0.161 140.2)
XYZxyz(9.3972, 16.8744, 3.5723)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8317 #6C1783
analogous
#648317 #2E8317 #178336
triadic
#2E8317 #172E83 #83172E
tetradic
#2E8317 #176483 #6C1783 #833617
square
#2E8317 #176483 #6C1783 #833617
split-complementary
#2E8317 #361783 #831764
monochromatic
#091B05 #1C4F0E #2E8317 #40B720 #5BDC38

Accessibility & contrast

On white

4.80
#2E8317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2E8317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8317
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8317#FFFFFF#000000##FFFFFF
##2E83171.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#217E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e8317;
/* rgb */ color: rgb(46, 131, 23);
/* oklch */ color: oklch(53.8% 0.161 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a85e',
    500: '#2e8317',
    950: '#000000',
  },
}
SCSS
$custom: #2e8317;
$custom-light: #73a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8317",
  "rgb": {
    "r": 46,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 107.222,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53777,
    "c": 0.16115,
    "h": 140.2
  },
  "luminance": 0.16875
}

Semantic roles & 50–950 ramp

primary
#2E8317
secondary
#9E3FB7
accent
#3BEDC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E8317

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

Preview Lab → · Contrast checker → · Palette generator →

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