#2E862D#2E862D

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

Color values

HEX#2E862D
RGBrgb(46, 134, 45)
HSLhsl(119, 50%, 35%)
HSVhsv(119, 66%, 53%)
CMYKcmyk(65.7%, 0%, 66.4%, 47.5%)
CIE-LABlab(49.28, -44.34, 39.12)
CIE-LCHlch(49.28, 59.13, 138.58°)
OKLaboklab(54.8% -0.1205 0.0908)
OKLCHoklch(54.8% 0.151 143)
XYZxyz(10.1249, 17.8195, 5.3880)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E862D #852D86
analogous
#5A862D #2E862D #2D8659
triadic
#2E862D #2D2E86 #862D2E
tetradic
#2E862D #2D5A86 #852D86 #86592D
square
#2E862D #2D5A86 #852D86 #86592D
split-complementary
#2E862D #592D86 #862D5A
monochromatic
#0F2A0E #1E581E #2E862D #3EB43C #64CB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E862D#FFFFFF#000000##FFFFFF
##2E862D1.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)
#897A22
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#1C8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e862d;
/* rgb */ color: rgb(46, 134, 45);
/* oklch */ color: oklch(54.8% 0.151 143.0);
Tailwind
colors: {
  custom: {
    50: '#72aa6a',
    500: '#2e862d',
    950: '#000000',
  },
}
SCSS
$custom: #2e862d;
$custom-light: #72aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e862d",
  "rgb": {
    "r": 46,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 119.326,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.548,
    "c": 0.15083,
    "h": 143
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#2E862D
secondary
#B05EB1
accent
#4FD9D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2E862D

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

Preview Lab → · Contrast checker → · Palette generator →

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