#2D7531#2D7531

#2D7531 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.125 H 144.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2D7531
RGBrgb(45, 117, 49)
HSLhsl(123, 44%, 32%)
HSVhsv(123, 62%, 46%)
CMYKcmyk(61.5%, 0%, 58.1%, 54.1%)
CIE-LABlab(43.51, -37.41, 30.56)
CIE-LCHlch(43.51, 48.30, 140.76°)
OKLaboklab(50.04% -0.1014 0.0727)
OKLCHoklch(50.04% 0.125 144.4)
XYZxyz(7.9974, 13.5015, 5.0897)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7531 #752D71
analogous
#4D752D #2D7531 #2D7555
triadic
#2D7531 #312D75 #75312D
tetradic
#2D7531 #2D4D75 #752D71 #75552D
square
#2D7531 #2D4D75 #752D71 #75552D
split-complementary
#2D7531 #552D75 #752D4D
monochromatic
#0B1D0C #1C491E #2D7531 #3EA144 #5CC062

Accessibility & contrast

On white

5.68
#2D7531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2D7531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7531
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7531#FFFFFF#000000##FFFFFF
##2D75311.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2A
Deuteranopia (green-blind)
#6E6436
Tritanopia (blue-blind)
#1F7266
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d7531;
/* rgb */ color: rgb(45, 117, 49);
/* oklch */ color: oklch(50.0% 0.125 144.4);
Tailwind
colors: {
  custom: {
    50: '#6e9d6b',
    500: '#2d7531',
    950: '#000000',
  },
}
SCSS
$custom: #2d7531;
$custom-light: #6e9d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7531",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 49
  },
  "hsl": {
    "h": 123.333,
    "s": 44.444,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50045,
    "c": 0.12483,
    "h": 144.4
  },
  "luminance": 0.13502
}

Semantic roles & 50–950 ramp

primary
#2D7531
secondary
#A657A2
accent
#54CDD4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2D7531

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

Preview Lab → · Contrast checker → · Palette generator →

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