#2D7B37#2D7B37

#2D7B37 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.128 H 145.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2D7B37
RGBrgb(45, 123, 55)
HSLhsl(128, 46%, 33%)
HSVhsv(128, 63%, 48%)
CMYKcmyk(63.4%, 0%, 55.3%, 51.8%)
CIE-LABlab(45.63, -39.00, 29.98)
CIE-LCHlch(45.63, 49.19, 142.45°)
OKLaboklab(51.82% -0.1055 0.0719)
OKLCHoklch(51.82% 0.128 145.7)
XYZxyz(8.8542, 14.9988, 6.0421)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B37 #7B2D71
analogous
#4A7B2D #2D7B37 #2D7B5E
triadic
#2D7B37 #372D7B #7B372D
tetradic
#2D7B37 #2D4A7B #7B2D71 #7B5E2D
square
#2D7B37 #2D4A7B #7B2D71 #7B5E2D
split-complementary
#2D7B37 #5E2D7B #7B2D4A
monochromatic
#0C210F #1D4E23 #2D7B37 #3DA84B #5EC46B

Accessibility & contrast

On white

5.25
#2D7B37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2D7B37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B37
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B37#FFFFFF#000000##FFFFFF
##2D7B371.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7031
Deuteranopia (green-blind)
#73693C
Tritanopia (blue-blind)
#1B786C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b37;
/* rgb */ color: rgb(45, 123, 55);
/* oklch */ color: oklch(51.8% 0.128 145.7);
Tailwind
colors: {
  custom: {
    50: '#6fa26f',
    500: '#2d7b37',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b37;
$custom-light: #6fa26f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b37",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 55
  },
  "hsl": {
    "h": 127.692,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.12769,
    "h": 145.7
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

primary
#2D7B37
secondary
#AB59A0
accent
#52C5D6
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7B37

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

Preview Lab → · Contrast checker → · Palette generator →

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