#2D8A2B#2D8A2B

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

Color values

HEX#2D8A2B
RGBrgb(45, 138, 43)
HSLhsl(119, 52%, 35%)
HSVhsv(119, 69%, 54%)
CMYKcmyk(67.4%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.58, -46.26, 41.42)
CIE-LCHlch(50.58, 62.10, 138.16°)
OKLaboklab(55.86% -0.1257 0.0954)
OKLCHoklch(55.86% 0.158 142.8)
XYZxyz(10.6061, 18.9082, 5.3757)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A2B #882B8A
analogous
#5C8A2B #2D8A2B #2B8A58
triadic
#2D8A2B #2B2D8A #8A2B2D
tetradic
#2D8A2B #2B5C8A #882B8A #8A582B
square
#2D8A2B #2B5C8A #882B8A #8A582B
split-complementary
#2D8A2B #582B8A #8A2B5C
monochromatic
#0F2D0E #1E5B1C #2D8A2B #3CB93A #64CE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8A2B#FFFFFF#000000##000000
##2D8A2B1.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)
#8D7D1E
Deuteranopia (green-blind)
#827534
Tritanopia (blue-blind)
#188677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a2b;
/* rgb */ color: rgb(45, 138, 43);
/* oklch */ color: oklch(55.9% 0.158 142.8);
Tailwind
colors: {
  custom: {
    50: '#73ad69',
    500: '#2d8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a2b;
$custom-light: #73ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a2b",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 118.737,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55865,
    "c": 0.15783,
    "h": 142.8
  },
  "luminance": 0.18909
}

Semantic roles & 50–950 ramp

primary
#2D8A2B
secondary
#B25DB4
accent
#4CDCD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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