#2D8F2D#2D8F2D

#2D8F2D is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.163 H 143.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2D8F2D
RGBrgb(45, 143, 45)
HSLhsl(120, 52%, 37%)
HSVhsv(120, 69%, 56%)
CMYKcmyk(68.5%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.28, -47.88, 42.39)
CIE-LCHlch(52.28, 63.94, 138.48°)
OKLaboklab(57.28% -0.13 0.0977)
OKLCHoklch(57.28% 0.163 143.1)
XYZxyz(11.3776, 20.3911, 5.8184)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F2D #8F2D8F
analogous
#5E8F2D #2D8F2D #2D8F5E
triadic
#2D8F2D #2D2D8F #8F2D2D
tetradic
#2D8F2D #2D5E8F #8F2D8F #8F5E2D
square
#2D8F2D #2D5E8F #8F2D8F #8F5E2D
split-complementary
#2D8F2D #5E2D8F #8F2D5E
monochromatic
#103210 #1E601E #2D8F2D #3CBE3C #67CF67

Accessibility & contrast

On white

4.14
#2D8F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2D8F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F2D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F2D#FFFFFF#000000##000000
##2D8F2D1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#867A36
Tritanopia (blue-blind)
#148B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f2d;
/* rgb */ color: rgb(45, 143, 45);
/* oklch */ color: oklch(57.3% 0.163 143.1);
Tailwind
colors: {
  custom: {
    50: '#74b16b',
    500: '#2d8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f2d;
$custom-light: #74b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f2d",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57275,
    "c": 0.1626,
    "h": 143.1
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#2D8F2D
secondary
#B662B6
accent
#4CDCDC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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