#2D804B#2D804B

#2D804B is a mid, moderate green. Relative luminance 0.165; OKLCH L 53.6% C 0.115 H 152.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2D804B
RGBrgb(45, 128, 75)
HSLhsl(142, 48%, 34%)
HSVhsv(142, 65%, 50%)
CMYKcmyk(64.8%, 0%, 41.4%, 49.8%)
CIE-LABlab(47.63, -37.66, 21.59)
CIE-LCHlch(47.63, 43.41, 150.17°)
OKLaboklab(53.56% -0.1018 0.0537)
OKLCHoklch(53.56% 0.115 152.2)
XYZxyz(10.0706, 16.5032, 9.3100)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D804B #802D62
analogous
#39802D #2D804B #2D8075
triadic
#2D804B #4B2D80 #804B2D
tetradic
#2D804B #2D3980 #802D62 #80752D
square
#2D804B #2D3980 #802D62 #80752D
split-complementary
#2D804B #752D80 #802D39
monochromatic
#0D2516 #1D5330 #2D804B #3DAD66 #60C785

Accessibility & contrast

On white

4.88
#2D804B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2D804B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D804B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D804B#FFFFFF#000000##FFFFFF
##2D804B1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807647
Deuteranopia (green-blind)
#756E4E
Tritanopia (blue-blind)
#0C7E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d804b;
/* rgb */ color: rgb(45, 128, 75);
/* oklch */ color: oklch(53.6% 0.115 152.2);
Tailwind
colors: {
  custom: {
    50: '#70a57e',
    500: '#2d804b',
    950: '#000000',
  },
}
SCSS
$custom: #2d804b;
$custom-light: #70a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d804b",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 75
  },
  "hsl": {
    "h": 141.687,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.1151,
    "h": 152.2
  },
  "luminance": 0.16504
}

Semantic roles & 50–950 ramp

primary
#2D804B
secondary
#AE5B90
accent
#50A7D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D804B

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

Preview Lab → · Contrast checker → · Palette generator →

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