#2D8042#2D8042

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

Color values

HEX#2D8042
RGBrgb(45, 128, 66)
HSLhsl(135, 48%, 34%)
HSVhsv(135, 65%, 50%)
CMYKcmyk(64.8%, 0%, 48.4%, 49.8%)
CIE-LABlab(47.48, -39.29, 26.38)
CIE-LCHlch(47.48, 47.33, 146.12°)
OKLaboklab(53.39% -0.1061 0.0644)
OKLCHoklch(53.39% 0.124 148.7)
XYZxyz(9.7840, 16.3886, 7.8009)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8042 #802D6B
analogous
#42802D #2D8042 #2D806C
triadic
#2D8042 #422D80 #80422D
tetradic
#2D8042 #2D4280 #802D6B #806C2D
square
#2D8042 #2D4280 #802D6B #806C2D
split-complementary
#2D8042 #6C2D80 #802D42
monochromatic
#0D2513 #1D532B #2D8042 #3DAD59 #60C77A

Accessibility & contrast

On white

4.91
#2D8042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2D8042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8042
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8042#FFFFFF#000000##FFFFFF
##2D80421.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753D
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#137E71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8042;
/* rgb */ color: rgb(45, 128, 66);
/* oklch */ color: oklch(53.4% 0.124 148.7);
Tailwind
colors: {
  custom: {
    50: '#70a677',
    500: '#2d8042',
    950: '#000000',
  },
}
SCSS
$custom: #2d8042;
$custom-light: #70a677;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8042",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 66
  },
  "hsl": {
    "h": 135.181,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53393,
    "c": 0.12412,
    "h": 148.7
  },
  "luminance": 0.1639
}

Semantic roles & 50–950 ramp

primary
#2D8042
secondary
#AE5B99
accent
#50B5D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D8042

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

Preview Lab → · Contrast checker → · Palette generator →

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