#2D7C36#2D7C36

#2D7C36 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.130 H 145.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2D7C36
RGBrgb(45, 124, 54)
HSLhsl(127, 47%, 33%)
HSVhsv(127, 64%, 49%)
CMYKcmyk(63.7%, 0%, 56.5%, 51.4%)
CIE-LABlab(45.96, -39.55, 30.89)
CIE-LCHlch(45.96, 50.19, 142.00°)
OKLaboklab(52.09% -0.107 0.0739)
OKLCHoklch(52.09% 0.13 145.4)
XYZxyz(8.9551, 15.2387, 5.9587)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C36 #7C2D73
analogous
#4B7C2D #2D7C36 #2D7C5D
triadic
#2D7C36 #362D7C #7C362D
tetradic
#2D7C36 #2D4B7C #7C2D73 #7C5D2D
square
#2D7C36 #2D4B7C #7C2D73 #7C5D2D
split-complementary
#2D7C36 #5D2D7C #7C2D4B
monochromatic
#0C220F #1D4F22 #2D7C36 #3DA94A #5FC56A

Accessibility & contrast

On white

5.19
#2D7C36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2D7C36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C36
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C36#FFFFFF#000000##FFFFFF
##2D7C361.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7130
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#1B796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7c36;
/* rgb */ color: rgb(45, 124, 54);
/* oklch */ color: oklch(52.1% 0.130 145.4);
Tailwind
colors: {
  custom: {
    50: '#6fa36f',
    500: '#2d7c36',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c36;
$custom-light: #6fa36f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c36",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 54
  },
  "hsl": {
    "h": 126.835,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52085,
    "c": 0.13004,
    "h": 145.4
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

primary
#2D7C36
secondary
#AB5AA2
accent
#51C7D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7C36

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

Preview Lab → · Contrast checker → · Palette generator →

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