#2D8E2D#2D8E2D

#2D8E2D is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.161 H 143.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2D8E2D
RGBrgb(45, 142, 45)
HSLhsl(120, 52%, 37%)
HSVhsv(120, 68%, 56%)
CMYKcmyk(68.3%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.94, -47.51, 42.02)
CIE-LCHlch(51.94, 63.43, 138.51°)
OKLaboklab(57% -0.129 0.0969)
OKLCHoklch(57% 0.161 143.1)
XYZxyz(11.2282, 20.0922, 5.7686)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E2D #8E2D8E
analogous
#5E8E2D #2D8E2D #2D8E5E
triadic
#2D8E2D #2D2D8E #8E2D2D
tetradic
#2D8E2D #2D5E8E #8E2D8E #8E5E2D
square
#2D8E2D #2D5E8E #8E2D8E #8E5E2D
split-complementary
#2D8E2D #5E2D8E #8E2D5E
monochromatic
#103110 #1E601E #2D8E2D #3CBC3C #67CF67

Accessibility & contrast

On white

4.18
#2D8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2D8E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E2D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E2D#FFFFFF#000000##000000
##2D8E2D1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#857936
Tritanopia (blue-blind)
#158A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e2d;
/* rgb */ color: rgb(45, 142, 45);
/* oklch */ color: oklch(57.0% 0.161 143.1);
Tailwind
colors: {
  custom: {
    50: '#74b06b',
    500: '#2d8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e2d;
$custom-light: #74b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e2d",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.16136,
    "h": 143.1
  },
  "luminance": 0.20093
}

Semantic roles & 50–950 ramp

primary
#2D8E2D
secondary
#B561B5
accent
#4CDBDB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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