#2D7E30#2D7E30

#2D7E30 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.138 H 143.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2D7E30
RGBrgb(45, 126, 48)
HSLhsl(122, 47%, 34%)
HSVhsv(122, 64%, 49%)
CMYKcmyk(64.3%, 0%, 61.9%, 50.6%)
CIE-LABlab(46.57, -41.15, 34.64)
CIE-LCHlch(46.57, 53.79, 139.91°)
OKLaboklab(52.56% -0.1116 0.0815)
OKLCHoklch(52.56% 0.138 143.9)
XYZxyz(9.0760, 15.6921, 5.3463)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E30 #7E2D7B
analogous
#527E2D #2D7E30 #2D7E58
triadic
#2D7E30 #302D7E #7E302D
tetradic
#2D7E30 #2D527E #7E2D7B #7E582D
square
#2D7E30 #2D527E #7E2D7B #7E582D
split-complementary
#2D7E30 #582D7E #7E2D52
monochromatic
#0D240E #1D511F #2D7E30 #3DAB41 #5FC663

Accessibility & contrast

On white

5.07
#2D7E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2D7E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E30
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E30#FFFFFF#000000##FFFFFF
##2D7E301.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807328
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#1C7B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e30;
/* rgb */ color: rgb(45, 126, 48);
/* oklch */ color: oklch(52.6% 0.138 143.9);
Tailwind
colors: {
  custom: {
    50: '#70a46b',
    500: '#2d7e30',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e30;
$custom-light: #70a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e30",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 122.222,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52564,
    "c": 0.13822,
    "h": 143.9
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#2D7E30
secondary
#AC5AA9
accent
#51D2D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7E30

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

Preview Lab → · Contrast checker → · Palette generator →

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