#2D8D45#2D8D45

#2D8D45 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.140 H 148.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2D8D45
RGBrgb(45, 141, 69)
HSLhsl(135, 52%, 36%)
HSVhsv(135, 68%, 55%)
CMYKcmyk(68.1%, 0%, 51.1%, 44.7%)
CIE-LABlab(51.88, -43.99, 30.30)
CIE-LCHlch(51.88, 53.41, 145.45°)
OKLaboklab(57.03% -0.1186 0.0735)
OKLCHoklch(57.03% 0.14 148.2)
XYZxyz(11.6804, 20.0361, 8.8809)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D45 #8D2D75
analogous
#458D2D #2D8D45 #2D8D75
triadic
#2D8D45 #452D8D #8D452D
tetradic
#2D8D45 #2D458D #8D2D75 #8D752D
square
#2D8D45 #2D458D #8D2D75 #8D752D
split-complementary
#2D8D45 #752D8D #8D2D45
monochromatic
#0F3018 #1E5F2E #2D8D45 #3CBB5C #66CE80

Accessibility & contrast

On white

4.19
#2D8D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2D8D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D45
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D45#FFFFFF#000000##000000
##2D8D451.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E813F
Deuteranopia (green-blind)
#83784A
Tritanopia (blue-blind)
#068A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8d45;
/* rgb */ color: rgb(45, 141, 69);
/* oklch */ color: oklch(57.0% 0.140 148.2);
Tailwind
colors: {
  custom: {
    50: '#72af7a',
    500: '#2d8d45',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d45;
$custom-light: #72af7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d45",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 135,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.13952,
    "h": 148.2
  },
  "luminance": 0.20037
}

Semantic roles & 50–950 ramp

primary
#2D8D45
secondary
#B561A0
accent
#4DB7DB
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2D8D45

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

Preview Lab → · Contrast checker → · Palette generator →

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