#2D7A34#2D7A34

#2D7A34 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.129 H 145.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2D7A34
RGBrgb(45, 122, 52)
HSLhsl(125, 46%, 33%)
HSVhsv(125, 63%, 48%)
CMYKcmyk(63.1%, 0%, 57.4%, 52.2%)
CIE-LABlab(45.25, -39.03, 31.08)
CIE-LCHlch(45.25, 49.89, 141.46°)
OKLaboklab(51.5% -0.1057 0.0741)
OKLCHoklch(51.5% 0.129 145)
XYZxyz(8.6610, 14.7241, 5.6337)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A34 #7A2D73
analogous
#4C7A2D #2D7A34 #2D7A5B
triadic
#2D7A34 #342D7A #7A342D
tetradic
#2D7A34 #2D4C7A #7A2D73 #7A5B2D
square
#2D7A34 #2D4C7A #7A2D73 #7A5B2D
split-complementary
#2D7A34 #5B2D7A #7A2D4C
monochromatic
#0C210E #1D4D21 #2D7A34 #3DA747 #5EC467

Accessibility & contrast

On white

5.32
#2D7A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2D7A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A34
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A34#FFFFFF#000000##FFFFFF
##2D7A341.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2D
Deuteranopia (green-blind)
#726939
Tritanopia (blue-blind)
#1C776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a34;
/* rgb */ color: rgb(45, 122, 52);
/* oklch */ color: oklch(51.5% 0.129 145.0);
Tailwind
colors: {
  custom: {
    50: '#6fa16d',
    500: '#2d7a34',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a34;
$custom-light: #6fa16d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a34",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 125.455,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.12911,
    "h": 145
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7A34

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

Preview Lab → · Contrast checker → · Palette generator →

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