#2E7F2D#2E7F2D

#2E7F2D is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.142 H 143.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2E7F2D
RGBrgb(46, 127, 45)
HSLhsl(119, 48%, 34%)
HSVhsv(119, 65%, 50%)
CMYKcmyk(63.8%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.91, -41.67, 36.48)
CIE-LCHlch(46.91, 55.38, 138.80°)
OKLaboklab(52.84% -0.1132 0.0851)
OKLCHoklch(52.84% 0.142 143.1)
XYZxyz(9.1892, 15.9482, 5.0762)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F2D #7E2D7F
analogous
#577F2D #2E7F2D #2D7F55
triadic
#2E7F2D #2D2E7F #7F2D2E
tetradic
#2E7F2D #2D577F #7E2D7F #7F552D
square
#2E7F2D #2D577F #7E2D7F #7F552D
split-complementary
#2E7F2D #552D7F #7F2D57
monochromatic
#0D250D #1E521D #2E7F2D #3EAC3D #61C760

Accessibility & contrast

On white

5.01
#2E7F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2E7F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F2D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F2D#FFFFFF#000000##FFFFFF
##2E7F2D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827324
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#1E7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f2d;
/* rgb */ color: rgb(46, 127, 45);
/* oklch */ color: oklch(52.8% 0.142 143.1);
Tailwind
colors: {
  custom: {
    50: '#71a569',
    500: '#2e7f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f2d;
$custom-light: #71a569;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f2d",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 119.268,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52842,
    "c": 0.14166,
    "h": 143.1
  },
  "luminance": 0.15949
}

Semantic roles & 50–950 ramp

primary
#2E7F2D
secondary
#AC5BAD
accent
#51D7D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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