#2D7837#2D7837

#2D7837 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.123 H 145.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2D7837
RGBrgb(45, 120, 55)
HSLhsl(128, 45%, 32%)
HSVhsv(128, 63%, 47%)
CMYKcmyk(62.5%, 0%, 54.2%, 52.9%)
CIE-LABlab(44.61, -37.77, 28.74)
CIE-LCHlch(44.61, 47.46, 142.74°)
OKLaboklab(50.98% -0.1022 0.0692)
OKLCHoklch(50.98% 0.123 145.9)
XYZxyz(8.4877, 14.2659, 5.9200)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7837 #782D6E
analogous
#49782D #2D7837 #2D785D
triadic
#2D7837 #372D78 #78372D
tetradic
#2D7837 #2D4978 #782D6E #785D2D
square
#2D7837 #2D4978 #782D6E #785D2D
split-complementary
#2D7837 #5D2D78 #782D49
monochromatic
#0C1F0E #1C4B23 #2D7837 #3EA54B #5DC26B

Accessibility & contrast

On white

5.45
#2D7837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2D7837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7837
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7837#FFFFFF#000000##FFFFFF
##2D78371.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E31
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#1C7569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d7837;
/* rgb */ color: rgb(45, 120, 55);
/* oklch */ color: oklch(51.0% 0.123 145.9);
Tailwind
colors: {
  custom: {
    50: '#6fa06f',
    500: '#2d7837',
    950: '#000000',
  },
}
SCSS
$custom: #2d7837;
$custom-light: #6fa06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7837",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 55
  },
  "hsl": {
    "h": 128,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50978,
    "c": 0.1234,
    "h": 145.9
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#2D7837
secondary
#A9589E
accent
#53C4D5
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2D7837

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

Preview Lab → · Contrast checker → · Palette generator →

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