#2D7A36#2D7A36

#2D7A36 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.127 H 145.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2D7A36
RGBrgb(45, 122, 54)
HSLhsl(127, 46%, 33%)
HSVhsv(127, 63%, 48%)
CMYKcmyk(63.1%, 0%, 55.7%, 52.2%)
CIE-LABlab(45.28, -38.74, 30.07)
CIE-LCHlch(45.28, 49.04, 142.18°)
OKLaboklab(51.52% -0.1049 0.0721)
OKLCHoklch(51.52% 0.127 145.5)
XYZxyz(8.7070, 14.7425, 5.8760)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A36 #7A2D71
analogous
#4A7A2D #2D7A36 #2D7A5C
triadic
#2D7A36 #362D7A #7A362D
tetradic
#2D7A36 #2D4A7A #7A2D71 #7A5C2D
square
#2D7A36 #2D4A7A #7A2D71 #7A5C2D
split-complementary
#2D7A36 #5C2D7A #7A2D4A
monochromatic
#0C210E #1D4D22 #2D7A36 #3DA74A #5EC46A

Accessibility & contrast

On white

5.32
#2D7A36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2D7A36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A36
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A36#FFFFFF#000000##FFFFFF
##2D7A361.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F30
Deuteranopia (green-blind)
#72693B
Tritanopia (blue-blind)
#1C776B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a36;
/* rgb */ color: rgb(45, 122, 54);
/* oklch */ color: oklch(51.5% 0.127 145.5);
Tailwind
colors: {
  custom: {
    50: '#6fa16f',
    500: '#2d7a36',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a36;
$custom-light: #6fa16f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a36",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 54
  },
  "hsl": {
    "h": 127.013,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51524,
    "c": 0.12723,
    "h": 145.5
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#2D7A36
secondary
#AA59A0
accent
#52C6D6
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7A36

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

Preview Lab → · Contrast checker → · Palette generator →

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