#2D8A2F#2D8A2F

#2D8A2F is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.155 H 143.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2D8A2F
RGBrgb(45, 138, 47)
HSLhsl(121, 51%, 36%)
HSVhsv(121, 67%, 54%)
CMYKcmyk(67.4%, 0%, 65.9%, 45.9%)
CIE-LABlab(50.62, -45.84, 39.68)
CIE-LCHlch(50.62, 60.63, 139.12°)
OKLaboklab(55.91% -0.1244 0.0922)
OKLCHoklch(55.91% 0.155 143.5)
XYZxyz(10.6831, 18.9390, 5.7814)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A2F #8A2D88
analogous
#598A2D #2D8A2F #2D8A5D
triadic
#2D8A2F #2F2D8A #8A2F2D
tetradic
#2D8A2F #2D598A #8A2D88 #8A5D2D
square
#2D8A2F #2D598A #8A2D88 #8A5D2D
split-complementary
#2D8A2F #5D2D8A #8A2D59
monochromatic
#0F2E10 #1E5C1F #2D8A2F #3CB83F #65CD67

Accessibility & contrast

On white

4.39
#2D8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2D8A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A2F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A2F#FFFFFF#000000##000000
##2D8A2F1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D24
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#178677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a2f;
/* rgb */ color: rgb(45, 138, 47);
/* oklch */ color: oklch(55.9% 0.155 143.5);
Tailwind
colors: {
  custom: {
    50: '#73ad6c',
    500: '#2d8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a2f;
$custom-light: #73ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a2f",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 121.29,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55906,
    "c": 0.15481,
    "h": 143.5
  },
  "luminance": 0.1894
}

Semantic roles & 50–950 ramp

primary
#2D8A2F
secondary
#B360B1
accent
#4DD7DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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