#2D8D2F#2D8D2F

#2D8D2F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.159 H 143.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2D8D2F
RGBrgb(45, 141, 47)
HSLhsl(121, 52%, 36%)
HSVhsv(121, 68%, 55%)
CMYKcmyk(68.1%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.62, -46.94, 40.80)
CIE-LCHlch(51.62, 62.19, 139.01°)
OKLaboklab(56.74% -0.1274 0.0945)
OKLCHoklch(56.74% 0.159 143.4)
XYZxyz(11.1195, 19.8117, 5.9268)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D2F #8D2D8B
analogous
#5B8D2D #2D8D2F #2D8D5F
triadic
#2D8D2F #2F2D8D #8D2F2D
tetradic
#2D8D2F #2D5B8D #8D2D8B #8D5F2D
square
#2D8D2F #2D5B8D #8D2D8B #8D5F2D
split-complementary
#2D8D2F #5F2D8D #8D2D5B
monochromatic
#0F3010 #1E5F20 #2D8D2F #3CBB3E #66CE68

Accessibility & contrast

On white

4.23
#2D8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2D8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D2F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D2F#FFFFFF#000000##000000
##2D8D2F1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#15897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d2f;
/* rgb */ color: rgb(45, 141, 47);
/* oklch */ color: oklch(56.7% 0.159 143.4);
Tailwind
colors: {
  custom: {
    50: '#73af6c',
    500: '#2d8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d2f;
$custom-light: #73af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d2f",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 121.25,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5674,
    "c": 0.15861,
    "h": 143.4
  },
  "luminance": 0.19813
}

Semantic roles & 50–950 ramp

primary
#2D8D2F
secondary
#B561B3
accent
#4DD8DB
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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