#2D8C2F#2D8C2F

#2D8C2F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.157 H 143.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2D8C2F
RGBrgb(45, 140, 47)
HSLhsl(121, 51%, 36%)
HSVhsv(121, 68%, 55%)
CMYKcmyk(67.9%, 0%, 66.4%, 45.1%)
CIE-LABlab(51.29, -46.57, 40.43)
CIE-LCHlch(51.29, 61.67, 139.04°)
OKLaboklab(56.46% -0.1264 0.0938)
OKLCHoklch(56.46% 0.157 143.4)
XYZxyz(10.9727, 19.5182, 5.8779)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8C2F #8C2D8A
analogous
#5B8C2D #2D8C2F #2D8C5F
triadic
#2D8C2F #2F2D8C #8C2F2D
tetradic
#2D8C2F #2D5B8C #8C2D8A #8C5F2D
square
#2D8C2F #2D5B8C #8C2D8A #8C5F2D
split-complementary
#2D8C2F #5F2D8C #8C2D5B
monochromatic
#0F2F10 #1E5E1F #2D8C2F #3CBA3F #66CE68

Accessibility & contrast

On white

4.28
#2D8C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2D8C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8C2F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8C2F#FFFFFF#000000##000000
##2D8C2F1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#847737
Tritanopia (blue-blind)
#158879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8c2f;
/* rgb */ color: rgb(45, 140, 47);
/* oklch */ color: oklch(56.5% 0.157 143.4);
Tailwind
colors: {
  custom: {
    50: '#73af6c',
    500: '#2d8c2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d8c2f;
$custom-light: #73af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8c2f",
  "rgb": {
    "r": 45,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 121.263,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56462,
    "c": 0.15735,
    "h": 143.4
  },
  "luminance": 0.19519
}

Semantic roles & 50–950 ramp

primary
#2D8C2F
secondary
#B460B3
accent
#4DD8DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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