#2E812F#2E812F

#2E812F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.143 H 143.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2E812F
RGBrgb(46, 129, 47)
HSLhsl(121, 47%, 34%)
HSVhsv(121, 64%, 51%)
CMYKcmyk(64.3%, 0%, 63.6%, 49.4%)
CIE-LABlab(47.61, -42.21, 36.32)
CIE-LCHlch(47.61, 55.68, 139.29°)
OKLaboklab(53.43% -0.1146 0.085)
OKLCHoklch(53.43% 0.143 143.4)
XYZxyz(9.4895, 16.4857, 5.3707)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E812F #812E80
analogous
#57812E #2E812F #2E8159
triadic
#2E812F #2F2E81 #812F2E
tetradic
#2E812F #2E5781 #812E80 #81592E
square
#2E812F #2E5781 #812E80 #81592E
split-complementary
#2E812F #592E81 #812E57
monochromatic
#0E270E #1E541F #2E812F #3EAE3F #62C763

Accessibility & contrast

On white

4.89
#2E812F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2E812F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E812F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E812F#FFFFFF#000000##FFFFFF
##2E812F1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847526
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#1D7D70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e812f;
/* rgb */ color: rgb(46, 129, 47);
/* oklch */ color: oklch(53.4% 0.143 143.4);
Tailwind
colors: {
  custom: {
    50: '#71a66b',
    500: '#2e812f',
    950: '#000000',
  },
}
SCSS
$custom: #2e812f;
$custom-light: #71a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e812f",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 120.723,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.14267,
    "h": 143.4
  },
  "luminance": 0.16487
}

Semantic roles & 50–950 ramp

primary
#2E812F
secondary
#AE5DAD
accent
#51D5D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2E812F

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

Preview Lab → · Contrast checker → · Palette generator →

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