#2D8F5A#2D8F5A

#2D8F5A is a mid, vivid green. Relative luminance 0.209; OKLCH L 58.0% C 0.122 H 155.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2D8F5A
RGBrgb(45, 143, 90)
HSLhsl(148, 52%, 37%)
HSVhsv(148, 69%, 56%)
CMYKcmyk(68.5%, 0%, 37.1%, 43.9%)
CIE-LABlab(52.88, -40.96, 20.18)
CIE-LCHlch(52.88, 45.66, 153.77°)
OKLaboklab(57.97% -0.1109 0.0506)
OKLCHoklch(57.97% 0.122 155.5)
XYZxyz(12.7490, 20.9396, 13.0407)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F5A #8F2D62
analogous
#318F2D #2D8F5A #2D8F8B
triadic
#2D8F5A #5A2D8F #8F5A2D
tetradic
#2D8F5A #2D318F #8F2D62 #8F8B2D
square
#2D8F5A #2D318F #8F2D62 #8F8B2D
split-complementary
#2D8F5A #8B2D8F #8F2D31
monochromatic
#10321F #1E603D #2D8F5A #3CBE77 #67CF97

Accessibility & contrast

On white

4.05
#2D8F5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2D8F5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F5A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F5A#FFFFFF#000000##000000
##2D8F5A1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8457
Deuteranopia (green-blind)
#827B5D
Tritanopia (blue-blind)
#008E81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2d8f5a;
/* rgb */ color: rgb(45, 143, 90);
/* oklch */ color: oklch(58.0% 0.122 155.5);
Tailwind
colors: {
  custom: {
    50: '#72b189',
    500: '#2d8f5a',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f5a;
$custom-light: #72b189;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f5a",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 90
  },
  "hsl": {
    "h": 147.551,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57973,
    "c": 0.12192,
    "h": 155.5
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#2D8F5A
secondary
#B6628F
accent
#4C9ADC
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2D8F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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