#2E7D2C#2E7D2C

#2E7D2C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.140 H 142.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2E7D2C
RGBrgb(46, 125, 44)
HSLhsl(119, 48%, 33%)
HSVhsv(119, 65%, 49%)
CMYKcmyk(63.2%, 0%, 64.8%, 51%)
CIE-LABlab(46.22, -41.00, 36.18)
CIE-LCHlch(46.22, 54.68, 138.58°)
OKLaboklab(52.27% -0.1115 0.0844)
OKLCHoklch(52.27% 0.14 142.9)
XYZxyz(8.9145, 15.4291, 4.8907)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D2C #7B2C7D
analogous
#567D2C #2E7D2C #2C7D53
triadic
#2E7D2C #2C2E7D #7D2C2E
tetradic
#2E7D2C #2C567D #7B2C7D #7D532C
square
#2E7D2C #2C567D #7B2C7D #7D532C
split-complementary
#2E7D2C #532C7D #7D2C56
monochromatic
#0D220C #1D501C #2E7D2C #3FAA3C #60C65D

Accessibility & contrast

On white

5.14
#2E7D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2E7D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D2C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D2C#FFFFFF#000000##FFFFFF
##2E7D2C1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#1F796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d2c;
/* rgb */ color: rgb(46, 125, 44);
/* oklch */ color: oklch(52.3% 0.140 142.9);
Tailwind
colors: {
  custom: {
    50: '#71a369',
    500: '#2e7d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d2c;
$custom-light: #71a369;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d2c",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 118.519,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.13982,
    "h": 142.9
  },
  "luminance": 0.1543
}

Semantic roles & 50–950 ramp

primary
#2E7D2C
secondary
#AA59AC
accent
#50D8D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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