#2D7D38#2D7D38

#2D7D38 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.130 H 145.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2D7D38
RGBrgb(45, 125, 56)
HSLhsl(128, 47%, 33%)
HSVhsv(128, 64%, 49%)
CMYKcmyk(64%, 0%, 55.2%, 51%)
CIE-LABlab(46.32, -39.66, 30.29)
CIE-LCHlch(46.32, 49.91, 142.63°)
OKLaboklab(52.39% -0.1073 0.0727)
OKLCHoklch(52.39% 0.13 145.9)
XYZxyz(9.1290, 15.5098, 6.2532)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D38 #7D2D72
analogous
#4A7D2D #2D7D38 #2D7D60
triadic
#2D7D38 #382D7D #7D382D
tetradic
#2D7D38 #2D4A7D #7D2D72 #7D602D
square
#2D7D38 #2D4A7D #7D2D72 #7D602D
split-complementary
#2D7D38 #602D7D #7D2D4A
monochromatic
#0D2310 #1D5024 #2D7D38 #3DAA4C #5FC56D

Accessibility & contrast

On white

5.12
#2D7D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2D7D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D38
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D38#FFFFFF#000000##FFFFFF
##2D7D381.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7232
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#1A7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7d38;
/* rgb */ color: rgb(45, 125, 56);
/* oklch */ color: oklch(52.4% 0.130 145.9);
Tailwind
colors: {
  custom: {
    50: '#6fa370',
    500: '#2d7d38',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d38;
$custom-light: #6fa370;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d38",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 128.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.12958,
    "h": 145.9
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#2D7D38
secondary
#AC5AA1
accent
#51C4D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7D38

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

Preview Lab → · Contrast checker → · Palette generator →

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