#2D804F#2D804F

#2D804F is a mid, moderate green. Relative luminance 0.166; OKLCH L 53.6% C 0.111 H 154.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2D804F
RGBrgb(45, 128, 79)
HSLhsl(145, 48%, 34%)
HSVhsv(145, 65%, 50%)
CMYKcmyk(64.8%, 0%, 38.3%, 49.8%)
CIE-LABlab(47.70, -36.87, 19.43)
CIE-LCHlch(47.70, 41.68, 152.21°)
OKLaboklab(53.65% -0.0999 0.0486)
OKLCHoklch(53.65% 0.111 154)
XYZxyz(10.2118, 16.5597, 10.0538)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D804F #802D5E
analogous
#35802D #2D804F #2D8079
triadic
#2D804F #4F2D80 #804F2D
tetradic
#2D804F #2D3580 #802D5E #80792D
square
#2D804F #2D3580 #802D5E #80792D
split-complementary
#2D804F #792D80 #802D35
monochromatic
#0D2517 #1D5333 #2D804F #3DAD6B #60C78A

Accessibility & contrast

On white

4.87
#2D804F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2D804F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D804F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D804F#FFFFFF#000000##FFFFFF
##2D804F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764C
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#087E74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d804f;
/* rgb */ color: rgb(45, 128, 79);
/* oklch */ color: oklch(53.6% 0.111 154.0);
Tailwind
colors: {
  custom: {
    50: '#6fa580',
    500: '#2d804f',
    950: '#000000',
  },
}
SCSS
$custom: #2d804f;
$custom-light: #6fa580;
$custom-dark: #000000;
JSON
{
  "hex": "#2d804f",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 79
  },
  "hsl": {
    "h": 144.578,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53646,
    "c": 0.11108,
    "h": 154
  },
  "luminance": 0.16561
}

Semantic roles & 50–950 ramp

primary
#2D804F
secondary
#AE5B8C
accent
#50A0D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D804F

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

Preview Lab → · Contrast checker → · Palette generator →

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