#2D8840#2D8840

#2D8840 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.137 H 147.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2D8840
RGBrgb(45, 136, 64)
HSLhsl(133, 50%, 35%)
HSVhsv(133, 67%, 53%)
CMYKcmyk(66.9%, 0%, 52.9%, 46.7%)
CIE-LABlab(50.14, -42.82, 30.77)
CIE-LCHlch(50.14, 52.73, 144.30°)
OKLaboklab(55.58% -0.1156 0.0742)
OKLCHoklch(55.58% 0.137 147.3)
XYZxyz(10.8110, 18.5353, 7.8574)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8840 #882D75
analogous
#48882D #2D8840 #2D886D
triadic
#2D8840 #402D88 #88402D
tetradic
#2D8840 #2D4888 #882D75 #886D2D
square
#2D8840 #2D4888 #882D75 #886D2D
split-complementary
#2D8840 #6D2D88 #882D48
monochromatic
#0F2C15 #1E5A2A #2D8840 #3CB656 #64CC79

Accessibility & contrast

On white

4.46
#2D8840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2D8840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8840
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8840#FFFFFF#000000##000000
##2D88401.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3A
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#0F8577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d8840;
/* rgb */ color: rgb(45, 136, 64);
/* oklch */ color: oklch(55.6% 0.137 147.3);
Tailwind
colors: {
  custom: {
    50: '#71ab76',
    500: '#2d8840',
    950: '#000000',
  },
}
SCSS
$custom: #2d8840;
$custom-light: #71ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8840",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 132.527,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.13736,
    "h": 147.3
  },
  "luminance": 0.18536
}

Semantic roles & 50–950 ramp

primary
#2D8840
secondary
#B25FA1
accent
#4EBDDA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2D8840

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

Preview Lab → · Contrast checker → · Palette generator →

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