#2E862C#2E862C

#2E862C is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.152 H 142.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2E862C
RGBrgb(46, 134, 44)
HSLhsl(119, 51%, 35%)
HSVhsv(119, 67%, 53%)
CMYKcmyk(65.7%, 0%, 67.2%, 47.5%)
CIE-LABlab(49.27, -44.45, 39.56)
CIE-LCHlch(49.27, 59.51, 138.33°)
OKLaboklab(54.79% -0.1208 0.0916)
OKLCHoklch(54.79% 0.152 142.8)
XYZxyz(10.1059, 17.8119, 5.2878)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E862C #842C86
analogous
#5B862C #2E862C #2C8657
triadic
#2E862C #2C2E86 #862C2E
tetradic
#2E862C #2C5B86 #842C86 #86572C
square
#2E862C #2C5B86 #842C86 #86572C
split-complementary
#2E862C #572C86 #862C5B
monochromatic
#0E2A0E #1E581D #2E862C #3EB43B #64CB61

Accessibility & contrast

On white

4.60
#2E862C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2E862C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E862C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E862C#FFFFFF#000000##FFFFFF
##2E862C1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A21
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#1C8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e862c;
/* rgb */ color: rgb(46, 134, 44);
/* oklch */ color: oklch(54.8% 0.152 142.8);
Tailwind
colors: {
  custom: {
    50: '#72aa69',
    500: '#2e862c',
    950: '#000000',
  },
}
SCSS
$custom: #2e862c;
$custom-light: #72aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e862c",
  "rgb": {
    "r": 46,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 118.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54789,
    "c": 0.15161,
    "h": 142.8
  },
  "luminance": 0.17813
}

Semantic roles & 50–950 ramp

primary
#2E862C
secondary
#B05CB1
accent
#4EDAD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2E862C

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

Preview Lab → · Contrast checker → · Palette generator →

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