#2D804C#2D804C

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

Color values

HEX#2D804C
RGBrgb(45, 128, 76)
HSLhsl(142, 48%, 34%)
HSVhsv(142, 65%, 50%)
CMYKcmyk(64.8%, 0%, 40.6%, 49.8%)
CIE-LABlab(47.65, -37.47, 21.05)
CIE-LCHlch(47.65, 42.98, 150.67°)
OKLaboklab(53.58% -0.1013 0.0524)
OKLCHoklch(53.58% 0.114 152.6)
XYZxyz(10.1050, 16.5170, 9.4916)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D804C #802D61
analogous
#38802D #2D804C #2D8076
triadic
#2D804C #4C2D80 #804C2D
tetradic
#2D804C #2D3880 #802D61 #80762D
square
#2D804C #2D3880 #802D61 #80762D
split-complementary
#2D804C #762D80 #802D38
monochromatic
#0D2516 #1D5331 #2D804C #3DAD67 #60C787

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D804C#FFFFFF#000000##FFFFFF
##2D804C1.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)
#807648
Deuteranopia (green-blind)
#756E4F
Tritanopia (blue-blind)
#0B7E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d804c;
/* rgb */ color: rgb(45, 128, 76);
/* oklch */ color: oklch(53.6% 0.114 152.6);
Tailwind
colors: {
  custom: {
    50: '#70a57e',
    500: '#2d804c',
    950: '#000000',
  },
}
SCSS
$custom: #2d804c;
$custom-light: #70a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d804c",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 76
  },
  "hsl": {
    "h": 142.41,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.11409,
    "h": 152.6
  },
  "luminance": 0.16518
}

Semantic roles & 50–950 ramp

primary
#2D804C
secondary
#AE5B8F
accent
#50A5D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D804C

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

Preview Lab → · Contrast checker → · Palette generator →

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