#2E891F#2E891F

#2E891F is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.164 H 141.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2E891F
RGBrgb(46, 137, 31)
HSLhsl(112, 63%, 33%)
HSVhsv(112, 77%, 54%)
CMYKcmyk(66.4%, 0%, 77.4%, 46.3%)
CIE-LABlab(50.18, -46.73, 45.80)
CIE-LCHlch(50.18, 65.44, 135.58°)
OKLaboklab(55.51% -0.1277 0.103)
OKLCHoklch(55.51% 0.164 141.1)
XYZxyz(10.3192, 18.5701, 4.3366)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E891F #7A1F89
analogous
#63891F #2E891F #1F8945
triadic
#2E891F #1F2E89 #891F2E
tetradic
#2E891F #1F6389 #7A1F89 #89451F
square
#2E891F #1F6389 #7A1F89 #89451F
split-complementary
#2E891F #451F89 #891F63
monochromatic
#0C2508 #1D5714 #2E891F #3FBB2A #60D64C

Accessibility & contrast

On white

4.45
#2E891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2E891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E891F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E891F#FFFFFF#000000##000000
##2E891F1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#1E8575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2e891f;
/* rgb */ color: rgb(46, 137, 31);
/* oklch */ color: oklch(55.5% 0.164 141.1);
Tailwind
colors: {
  custom: {
    50: '#74ac63',
    500: '#2e891f',
    950: '#000000',
  },
}
SCSS
$custom: #2e891f;
$custom-light: #74ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e891f",
  "rgb": {
    "r": 46,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 111.509,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.16406,
    "h": 141.1
  },
  "luminance": 0.18571
}

Semantic roles & 50–950 ramp

primary
#2E891F
secondary
#AA4BB9
accent
#42E6CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E891F

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

Preview Lab → · Contrast checker → · Palette generator →

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