#2D7B34#2D7B34

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

Color values

HEX#2D7B34
RGBrgb(45, 123, 52)
HSLhsl(125, 46%, 33%)
HSVhsv(125, 63%, 48%)
CMYKcmyk(63.4%, 0%, 57.7%, 51.8%)
CIE-LABlab(45.59, -39.43, 31.49)
CIE-LCHlch(45.59, 50.46, 141.39°)
OKLaboklab(51.78% -0.1068 0.075)
OKLCHoklch(51.78% 0.131 144.9)
XYZxyz(8.7844, 14.9709, 5.6749)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B34 #7B2D74
analogous
#4D7B2D #2D7B34 #2D7B5B
triadic
#2D7B34 #342D7B #7B342D
tetradic
#2D7B34 #2D4D7B #7B2D74 #7B5B2D
square
#2D7B34 #2D4D7B #7B2D74 #7B5B2D
split-complementary
#2D7B34 #5B2D7B #7B2D4D
monochromatic
#0C210E #1D4E21 #2D7B34 #3DA847 #5EC467

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7B34#FFFFFF#000000##FFFFFF
##2D7B341.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)
#7D702D
Deuteranopia (green-blind)
#736939
Tritanopia (blue-blind)
#1C786B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b34;
/* rgb */ color: rgb(45, 123, 52);
/* oklch */ color: oklch(51.8% 0.131 144.9);
Tailwind
colors: {
  custom: {
    50: '#6fa26d',
    500: '#2d7b34',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b34;
$custom-light: #6fa26d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b34",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 52
  },
  "hsl": {
    "h": 125.385,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.13051,
    "h": 144.9
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#2D7B34
secondary
#AB59A3
accent
#52CAD6
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7B34

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

Preview Lab → · Contrast checker → · Palette generator →

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