#2D8A2A#2D8A2A

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

Color values

HEX#2D8A2A
RGBrgb(45, 138, 42)
HSLhsl(118, 53%, 35%)
HSVhsv(118, 70%, 54%)
CMYKcmyk(67.4%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.57, -46.36, 41.84)
CIE-LCHlch(50.57, 62.45, 137.93°)
OKLaboklab(55.86% -0.1261 0.0962)
OKLCHoklch(55.86% 0.159 142.7)
XYZxyz(10.5880, 18.9009, 5.2803)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A2A #872A8A
analogous
#5D8A2A #2D8A2A #2A8A57
triadic
#2D8A2A #2A2D8A #8A2A2D
tetradic
#2D8A2A #2A5D8A #872A8A #8A572A
square
#2D8A2A #2A5D8A #872A8A #8A572A
split-complementary
#2D8A2A #572A8A #8A2A5D
monochromatic
#0E2C0D #1E5B1C #2D8A2A #3CB938 #63CF60

Accessibility & contrast

On white

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

On black

4.78
#2D8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A2A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A2A#FFFFFF#000000##000000
##2D8A2A1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1D
Deuteranopia (green-blind)
#827533
Tritanopia (blue-blind)
#188677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a2a;
/* rgb */ color: rgb(45, 138, 42);
/* oklch */ color: oklch(55.9% 0.159 142.7);
Tailwind
colors: {
  custom: {
    50: '#73ad69',
    500: '#2d8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a2a;
$custom-light: #73ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a2a",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 118.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55855,
    "c": 0.15855,
    "h": 142.7
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#2D8A2A
secondary
#B25BB4
accent
#4BDDD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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