#2D8D42#2D8D42

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

Color values

HEX#2D8D42
RGBrgb(45, 141, 66)
HSLhsl(133, 52%, 36%)
HSVhsv(133, 68%, 55%)
CMYKcmyk(68.1%, 0%, 53.2%, 44.7%)
CIE-LABlab(51.84, -44.46, 31.81)
CIE-LCHlch(51.84, 54.67, 144.42°)
OKLaboklab(56.99% -0.1199 0.0767)
OKLCHoklch(56.99% 0.142 147.4)
XYZxyz(11.5896, 19.9998, 8.4028)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D42 #8D2D78
analogous
#488D2D #2D8D42 #2D8D72
triadic
#2D8D42 #422D8D #8D422D
tetradic
#2D8D42 #2D488D #8D2D78 #8D722D
square
#2D8D42 #2D488D #8D2D78 #8D722D
split-complementary
#2D8D42 #722D8D #8D2D48
monochromatic
#0F3017 #1E5F2C #2D8D42 #3CBB58 #66CE7D

Accessibility & contrast

On white

4.20
#2D8D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2D8D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D42
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D42#FFFFFF#000000##000000
##2D8D421.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813B
Deuteranopia (green-blind)
#837848
Tritanopia (blue-blind)
#098A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8d42;
/* rgb */ color: rgb(45, 141, 66);
/* oklch */ color: oklch(57.0% 0.142 147.4);
Tailwind
colors: {
  custom: {
    50: '#73af78',
    500: '#2d8d42',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d42;
$custom-light: #73af78;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d42",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 66
  },
  "hsl": {
    "h": 133.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56986,
    "c": 0.14235,
    "h": 147.4
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

primary
#2D8D42
secondary
#B561A2
accent
#4DBCDB
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2D8D42

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

Preview Lab → · Contrast checker → · Palette generator →

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