#2D7B32#2D7B32

#2D7B32 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.132 H 144.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2D7B32
RGBrgb(45, 123, 50)
HSLhsl(124, 46%, 33%)
HSVhsv(124, 63%, 48%)
CMYKcmyk(63.4%, 0%, 59.3%, 51.8%)
CIE-LABlab(45.57, -39.71, 32.48)
CIE-LCHlch(45.57, 51.30, 140.71°)
OKLaboklab(51.75% -0.1076 0.077)
OKLCHoklch(51.75% 0.132 144.4)
XYZxyz(8.7403, 14.9533, 5.4427)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B32 #7B2D76
analogous
#4F7B2D #2D7B32 #2D7B59
triadic
#2D7B32 #322D7B #7B322D
tetradic
#2D7B32 #2D4F7B #7B2D76 #7B592D
square
#2D7B32 #2D4F7B #7B2D76 #7B592D
split-complementary
#2D7B32 #592D7B #7B2D4F
monochromatic
#0C210E #1D4E20 #2D7B32 #3DA844 #5EC465

Accessibility & contrast

On white

5.26
#2D7B32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2D7B32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B32
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B32#FFFFFF#000000##FFFFFF
##2D7B321.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702B
Deuteranopia (green-blind)
#736938
Tritanopia (blue-blind)
#1D786B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b32;
/* rgb */ color: rgb(45, 123, 50);
/* oklch */ color: oklch(51.7% 0.132 144.4);
Tailwind
colors: {
  custom: {
    50: '#6fa26c',
    500: '#2d7b32',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b32;
$custom-light: #6fa26c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b32",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 50
  },
  "hsl": {
    "h": 123.846,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51748,
    "c": 0.13234,
    "h": 144.4
  },
  "luminance": 0.14954
}

Semantic roles & 50–950 ramp

primary
#2D7B32
secondary
#AB59A5
accent
#52CED6
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7B32

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

Preview Lab → · Contrast checker → · Palette generator →

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