#2D8045#2D8045

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

Color values

HEX#2D8045
RGBrgb(45, 128, 69)
HSLhsl(137, 48%, 34%)
HSVhsv(137, 65%, 50%)
CMYKcmyk(64.8%, 0%, 46.1%, 49.8%)
CIE-LABlab(47.53, -38.77, 24.80)
CIE-LCHlch(47.53, 46.02, 147.39°)
OKLaboklab(53.45% -0.1047 0.061)
OKLCHoklch(53.45% 0.121 149.8)
XYZxyz(9.8748, 16.4249, 8.2790)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8045 #802D68
analogous
#3F802D #2D8045 #2D806F
triadic
#2D8045 #452D80 #80452D
tetradic
#2D8045 #2D3F80 #802D68 #806F2D
square
#2D8045 #2D3F80 #802D68 #806F2D
split-complementary
#2D8045 #6F2D80 #802D3F
monochromatic
#0D2514 #1D532D #2D8045 #3DAD5D #60C77E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8045#FFFFFF#000000##FFFFFF
##2D80451.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)
#817541
Deuteranopia (green-blind)
#766E49
Tritanopia (blue-blind)
#117E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8045;
/* rgb */ color: rgb(45, 128, 69);
/* oklch */ color: oklch(53.4% 0.121 149.8);
Tailwind
colors: {
  custom: {
    50: '#70a679',
    500: '#2d8045',
    950: '#000000',
  },
}
SCSS
$custom: #2d8045;
$custom-light: #70a679;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8045",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 69
  },
  "hsl": {
    "h": 137.349,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.12113,
    "h": 149.8
  },
  "luminance": 0.16426
}

Semantic roles & 50–950 ramp

primary
#2D8045
secondary
#AE5B96
accent
#50B0D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D8045

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

Preview Lab → · Contrast checker → · Palette generator →

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