#2D8C30#2D8C30

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

Color values

HEX#2D8C30
RGBrgb(45, 140, 48)
HSLhsl(122, 51%, 36%)
HSVhsv(122, 68%, 55%)
CMYKcmyk(67.9%, 0%, 65.7%, 45.1%)
CIE-LABlab(51.30, -46.46, 39.98)
CIE-LCHlch(51.30, 61.30, 139.29°)
OKLaboklab(56.47% -0.126 0.0929)
OKLCHoklch(56.47% 0.157 143.6)
XYZxyz(10.9931, 19.5263, 5.9854)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8C30 #8C2D89
analogous
#5A8C2D #2D8C30 #2D8C60
triadic
#2D8C30 #302D8C #8C302D
tetradic
#2D8C30 #2D5A8C #8C2D89 #8C602D
square
#2D8C30 #2D5A8C #8C2D89 #8C602D
split-complementary
#2D8C30 #602D8C #8C2D5A
monochromatic
#0F2F10 #1E5E20 #2D8C30 #3CBA40 #66CE69

Accessibility & contrast

On white

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

On black

4.91
#2D8C30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8C30
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8C30#FFFFFF#000000##000000
##2D8C301.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d8c30;
/* rgb */ color: rgb(45, 140, 48);
/* oklch */ color: oklch(56.5% 0.157 143.6);
Tailwind
colors: {
  custom: {
    50: '#73ae6c',
    500: '#2d8c30',
    950: '#000000',
  },
}
SCSS
$custom: #2d8c30;
$custom-light: #73ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8c30",
  "rgb": {
    "r": 45,
    "g": 140,
    "b": 48
  },
  "hsl": {
    "h": 121.895,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.15657,
    "h": 143.6
  },
  "luminance": 0.19527
}

Semantic roles & 50–950 ramp

primary
#2D8C30
secondary
#B460B2
accent
#4DD6DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8C30

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

Preview Lab → · Contrast checker → · Palette generator →

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