#2D8046#2D8046

#2D8046 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.5% C 0.120 H 150.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2D8046
RGBrgb(45, 128, 70)
HSLhsl(138, 48%, 34%)
HSVhsv(138, 65%, 50%)
CMYKcmyk(64.8%, 0%, 45.3%, 49.8%)
CIE-LABlab(47.54, -38.59, 24.27)
CIE-LCHlch(47.54, 45.59, 147.84°)
OKLaboklab(53.47% -0.1042 0.0598)
OKLCHoklch(53.47% 0.12 150.2)
XYZxyz(9.9061, 16.4374, 8.4439)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8046 #802D67
analogous
#3E802D #2D8046 #2D8070
triadic
#2D8046 #462D80 #80462D
tetradic
#2D8046 #2D3E80 #802D67 #80702D
square
#2D8046 #2D3E80 #802D67 #80702D
split-complementary
#2D8046 #702D80 #802D3E
monochromatic
#0D2514 #1D532D #2D8046 #3DAD5F #60C77F

Accessibility & contrast

On white

4.90
#2D8046 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2D8046 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8046
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8046#FFFFFF#000000##FFFFFF
##2D80461.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817542
Deuteranopia (green-blind)
#766E4A
Tritanopia (blue-blind)
#117E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8046;
/* rgb */ color: rgb(45, 128, 70);
/* oklch */ color: oklch(53.5% 0.120 150.2);
Tailwind
colors: {
  custom: {
    50: '#70a67a',
    500: '#2d8046',
    950: '#000000',
  },
}
SCSS
$custom: #2d8046;
$custom-light: #70a67a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8046",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 70
  },
  "hsl": {
    "h": 138.072,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.12013,
    "h": 150.2
  },
  "luminance": 0.16438
}

Semantic roles & 50–950 ramp

primary
#2D8046
secondary
#AE5B95
accent
#50AFD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D8046

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

Preview Lab → · Contrast checker → · Palette generator →

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