#2D8142#2D8142

#2D8142 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.126 H 148.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2D8142
RGBrgb(45, 129, 66)
HSLhsl(135, 48%, 34%)
HSVhsv(135, 65%, 51%)
CMYKcmyk(65.1%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.82, -39.70, 26.81)
CIE-LCHlch(47.82, 47.90, 145.97°)
OKLaboklab(53.67% -0.1072 0.0654)
OKLCHoklch(53.67% 0.126 148.6)
XYZxyz(9.9151, 16.6508, 7.8446)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8142 #812D6C
analogous
#42812D #2D8142 #2D816C
triadic
#2D8142 #422D81 #81422D
tetradic
#2D8142 #2D4281 #812D6C #816C2D
square
#2D8142 #2D4281 #812D6C #816C2D
split-complementary
#2D8142 #6C2D81 #812D42
monochromatic
#0D2614 #1D542B #2D8142 #3DAE59 #61C87A

Accessibility & contrast

On white

4.85
#2D8142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2D8142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8142
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8142#FFFFFF#000000##FFFFFF
##2D81421.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#137E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8142;
/* rgb */ color: rgb(45, 129, 66);
/* oklch */ color: oklch(53.7% 0.126 148.6);
Tailwind
colors: {
  custom: {
    50: '#70a677',
    500: '#2d8142',
    950: '#000000',
  },
}
SCSS
$custom: #2d8142;
$custom-light: #70a677;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8142",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 135,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.12557,
    "h": 148.6
  },
  "luminance": 0.16652
}

Semantic roles & 50–950 ramp

primary
#2D8142
secondary
#AE5C9A
accent
#50B6D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D8142

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

Preview Lab → · Contrast checker → · Palette generator →

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