#2D8D34#2D8D34

#2D8D34 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.155 H 144.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2D8D34
RGBrgb(45, 141, 52)
HSLhsl(124, 52%, 36%)
HSVhsv(124, 68%, 55%)
CMYKcmyk(68.1%, 0%, 63.1%, 44.7%)
CIE-LABlab(51.67, -46.37, 38.56)
CIE-LCHlch(51.67, 60.30, 140.26°)
OKLaboklab(56.8% -0.1256 0.0903)
OKLCHoklch(56.8% 0.155 144.3)
XYZxyz(11.2262, 19.8544, 6.4888)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D34 #8D2D86
analogous
#568D2D #2D8D34 #2D8D64
triadic
#2D8D34 #342D8D #8D342D
tetradic
#2D8D34 #2D568D #8D2D86 #8D642D
square
#2D8D34 #2D568D #8D2D86 #8D642D
split-complementary
#2D8D34 #642D8D #8D2D56
monochromatic
#0F3012 #1E5F23 #2D8D34 #3CBB45 #66CE6E

Accessibility & contrast

On white

4.22
#2D8D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2D8D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D34
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D34#FFFFFF#000000##000000
##2D8D341.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802A
Deuteranopia (green-blind)
#84783B
Tritanopia (blue-blind)
#13897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d34;
/* rgb */ color: rgb(45, 141, 52);
/* oklch */ color: oklch(56.8% 0.155 144.3);
Tailwind
colors: {
  custom: {
    50: '#73af6f',
    500: '#2d8d34',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d34;
$custom-light: #73af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d34",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 124.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56796,
    "c": 0.15467,
    "h": 144.3
  },
  "luminance": 0.19856
}

Semantic roles & 50–950 ramp

primary
#2D8D34
secondary
#B561AF
accent
#4DD1DB
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8D34

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

Preview Lab → · Contrast checker → · Palette generator →

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