#2D8A2E#2D8A2E

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

Color values

HEX#2D8A2E
RGBrgb(45, 138, 46)
HSLhsl(121, 51%, 36%)
HSVhsv(121, 67%, 54%)
CMYKcmyk(67.4%, 0%, 66.7%, 45.9%)
CIE-LABlab(50.61, -45.95, 40.13)
CIE-LCHlch(50.61, 61.00, 138.87°)
OKLaboklab(55.9% -0.1247 0.093)
OKLCHoklch(55.9% 0.156 143.3)
XYZxyz(10.6632, 18.9310, 5.6763)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A2E #8A2D89
analogous
#5A8A2D #2D8A2E #2D8A5C
triadic
#2D8A2E #2E2D8A #8A2E2D
tetradic
#2D8A2E #2D5A8A #8A2D89 #8A5C2D
square
#2D8A2E #2D5A8A #8A2D89 #8A5C2D
split-complementary
#2D8A2E #5C2D8A #8A2D5A
monochromatic
#0F2E0F #1E5C1F #2D8A2E #3CB83D #65CD66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8A2E#FFFFFF#000000##000000
##2D8A2E1.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)
#8D7D23
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#178677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a2e;
/* rgb */ color: rgb(45, 138, 46);
/* oklch */ color: oklch(55.9% 0.156 143.3);
Tailwind
colors: {
  custom: {
    50: '#73ad6b',
    500: '#2d8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a2e;
$custom-light: #73ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a2e",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 120.645,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55895,
    "c": 0.15558,
    "h": 143.3
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#2D8A2E
secondary
#B360B2
accent
#4DD9DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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