#2E7D2A#2E7D2A

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

Color values

HEX#2E7D2A
RGBrgb(46, 125, 42)
HSLhsl(117, 50%, 33%)
HSVhsv(117, 66%, 49%)
CMYKcmyk(63.2%, 0%, 66.4%, 51%)
CIE-LABlab(46.20, -41.23, 37.09)
CIE-LCHlch(46.20, 55.46, 138.02°)
OKLaboklab(52.25% -0.1122 0.0861)
OKLCHoklch(52.25% 0.141 142.5)
XYZxyz(8.8778, 15.4144, 4.6975)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D2A #792A7D
analogous
#587D2A #2E7D2A #2A7D4F
triadic
#2E7D2A #2A2E7D #7D2A2E
tetradic
#2E7D2A #2A587D #792A7D #7D4F2A
square
#2E7D2A #2A587D #792A7D #7D4F2A
split-complementary
#2E7D2A #4F2A7D #7D2A58
monochromatic
#0C210B #1D4F1B #2E7D2A #3FAB39 #5FC85A

Accessibility & contrast

On white

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

On black

4.08
#2E7D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E7D2A#FFFFFF#000000##FFFFFF
##2E7D2A1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807120
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#20796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d2a;
/* rgb */ color: rgb(46, 125, 42);
/* oklch */ color: oklch(52.2% 0.141 142.5);
Tailwind
colors: {
  custom: {
    50: '#71a367',
    500: '#2e7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d2a;
$custom-light: #71a367;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d2a",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 117.108,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52246,
    "c": 0.14144,
    "h": 142.5
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#2E7D2A
secondary
#A956AD
accent
#4FD9D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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