#2D8730#2D8730

#2D8730 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.150 H 143.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2D8730
RGBrgb(45, 135, 48)
HSLhsl(122, 50%, 35%)
HSVhsv(122, 67%, 53%)
CMYKcmyk(66.7%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.62, -44.61, 38.11)
CIE-LCHlch(49.62, 58.67, 139.49°)
OKLaboklab(55.08% -0.121 0.0889)
OKLCHoklch(55.08% 0.15 143.7)
XYZxyz(10.2790, 18.0982, 5.7473)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8730 #872D84
analogous
#57872D #2D8730 #2D875D
triadic
#2D8730 #302D87 #87302D
tetradic
#2D8730 #2D5787 #872D84 #875D2D
square
#2D8730 #2D5787 #872D84 #875D2D
split-complementary
#2D8730 #5D2D87 #872D57
monochromatic
#0E2B0F #1E5920 #2D8730 #3CB540 #63CB67

Accessibility & contrast

On white

4.55
#2D8730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2D8730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8730
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8730#FFFFFF#000000##000000
##2D87301.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B26
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#188375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d8730;
/* rgb */ color: rgb(45, 135, 48);
/* oklch */ color: oklch(55.1% 0.150 143.7);
Tailwind
colors: {
  custom: {
    50: '#72ab6c',
    500: '#2d8730',
    950: '#000000',
  },
}
SCSS
$custom: #2d8730;
$custom-light: #72ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8730",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 122,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.15016,
    "h": 143.7
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

primary
#2D8730
secondary
#B25EAF
accent
#4ED5DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8730

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

Preview Lab → · Contrast checker → · Palette generator →

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