#2E7C2D#2E7C2D

#2E7C2D is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.138 H 143.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2E7C2D
RGBrgb(46, 124, 45)
HSLhsl(119, 47%, 33%)
HSVhsv(119, 64%, 49%)
CMYKcmyk(62.9%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.89, -40.49, 35.33)
CIE-LCHlch(45.89, 53.73, 138.90°)
OKLaboklab(52% -0.11 0.0827)
OKLCHoklch(52% 0.138 143.1)
XYZxyz(8.8075, 15.1848, 4.9489)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C2D #7B2D7C
analogous
#557C2D #2E7C2D #2D7C53
triadic
#2E7C2D #2D2E7C #7C2D2E
tetradic
#2E7C2D #2D557C #7B2D7C #7C532D
square
#2E7C2D #2D557C #7B2D7C #7C532D
split-complementary
#2E7C2D #532D7C #7C2D55
monochromatic
#0D220C #1D4F1D #2E7C2D #3FA93D #60C55F

Accessibility & contrast

On white

5.20
#2E7C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2E7C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C2D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C2D#FFFFFF#000000##FFFFFF
##2E7C2D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#20786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7c2d;
/* rgb */ color: rgb(46, 124, 45);
/* oklch */ color: oklch(52.0% 0.138 143.1);
Tailwind
colors: {
  custom: {
    50: '#70a369',
    500: '#2e7c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c2d;
$custom-light: #70a369;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c2d",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 119.241,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.13764,
    "h": 143.1
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#2E7C2D
secondary
#AA5AAB
accent
#51D6D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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