#2E862B#2E862B

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

Color values

HEX#2E862B
RGBrgb(46, 134, 43)
HSLhsl(118, 51%, 35%)
HSVhsv(118, 68%, 53%)
CMYKcmyk(65.7%, 0%, 67.9%, 47.5%)
CIE-LABlab(49.26, -44.56, 40.00)
CIE-LCHlch(49.26, 59.88, 138.09°)
OKLaboklab(54.78% -0.1212 0.0924)
OKLCHoklch(54.78% 0.152 142.7)
XYZxyz(10.0873, 17.8045, 5.1900)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E862B #832B86
analogous
#5C862B #2E862B #2B8656
triadic
#2E862B #2B2E86 #862B2E
tetradic
#2E862B #2B5C86 #832B86 #86562B
square
#2E862B #2B5C86 #832B86 #86562B
split-complementary
#2E862B #562B86 #862B5C
monochromatic
#0E290D #1E581C #2E862B #3EB43A #63CC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E862B#FFFFFF#000000##FFFFFF
##2E862B1.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)
#897A1F
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#1C8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e862b;
/* rgb */ color: rgb(46, 134, 43);
/* oklch */ color: oklch(54.8% 0.152 142.7);
Tailwind
colors: {
  custom: {
    50: '#72aa69',
    500: '#2e862b',
    950: '#000000',
  },
}
SCSS
$custom: #2e862b;
$custom-light: #72aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#2e862b",
  "rgb": {
    "r": 46,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 118.022,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.15237,
    "h": 142.7
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#2E862B
secondary
#AF5BB2
accent
#4DDBD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E862B

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

Preview Lab → · Contrast checker → · Palette generator →

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