#2D7535#2D7535

#2D7535 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.1% C 0.121 H 145.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2D7535
RGBrgb(45, 117, 53)
HSLhsl(127, 44%, 32%)
HSVhsv(127, 62%, 46%)
CMYKcmyk(61.5%, 0%, 54.7%, 54.1%)
CIE-LABlab(43.56, -36.83, 28.52)
CIE-LCHlch(43.56, 46.58, 142.25°)
OKLaboklab(50.1% -0.0997 0.0685)
OKLCHoklch(50.1% 0.121 145.5)
XYZxyz(8.0856, 13.5368, 5.5542)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7535 #752D6D
analogous
#49752D #2D7535 #2D7559
triadic
#2D7535 #352D75 #75352D
tetradic
#2D7535 #2D4975 #752D6D #75592D
square
#2D7535 #2D4975 #752D6D #75592D
split-complementary
#2D7535 #592D75 #752D49
monochromatic
#0B1D0D #1C4921 #2D7535 #3EA149 #5CC067

Accessibility & contrast

On white

5.66
#2D7535 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2D7535 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7535
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7535#FFFFFF#000000##FFFFFF
##2D75351.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2F
Deuteranopia (green-blind)
#6E643A
Tritanopia (blue-blind)
#1E7266
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d7535;
/* rgb */ color: rgb(45, 117, 53);
/* oklch */ color: oklch(50.1% 0.121 145.5);
Tailwind
colors: {
  custom: {
    50: '#6e9d6e',
    500: '#2d7535',
    950: '#000000',
  },
}
SCSS
$custom: #2d7535;
$custom-light: #6e9d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7535",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 53
  },
  "hsl": {
    "h": 126.667,
    "s": 44.444,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50104,
    "c": 0.12101,
    "h": 145.5
  },
  "luminance": 0.13538
}

Semantic roles & 50–950 ramp

primary
#2D7535
secondary
#A6579E
accent
#54C6D4
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2D7535

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

Preview Lab → · Contrast checker → · Palette generator →

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