#2D7A2F#2D7A2F

#2D7A2F is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.134 H 143.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2D7A2F
RGBrgb(45, 122, 47)
HSLhsl(122, 46%, 33%)
HSVhsv(122, 63%, 48%)
CMYKcmyk(63.1%, 0%, 61.5%, 52.2%)
CIE-LABlab(45.19, -39.70, 33.55)
CIE-LCHlch(45.19, 51.98, 139.80°)
OKLaboklab(51.43% -0.1077 0.0791)
OKLCHoklch(51.43% 0.134 143.7)
XYZxyz(8.5543, 14.6814, 5.0718)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A2F #7A2D78
analogous
#527A2D #2D7A2F #2D7A55
triadic
#2D7A2F #2F2D7A #7A2F2D
tetradic
#2D7A2F #2D527A #7A2D78 #7A552D
square
#2D7A2F #2D527A #7A2D78 #7A552D
split-complementary
#2D7A2F #552D7A #7A2D52
monochromatic
#0C210D #1D4D1E #2D7A2F #3DA740 #5EC460

Accessibility & contrast

On white

5.33
#2D7A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7A2F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A2F#FFFFFF#000000##FFFFFF
##2D7A2F1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F27
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#1E776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a2f;
/* rgb */ color: rgb(45, 122, 47);
/* oklch */ color: oklch(51.4% 0.134 143.7);
Tailwind
colors: {
  custom: {
    50: '#6fa16a',
    500: '#2d7a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a2f;
$custom-light: #6fa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a2f",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 121.558,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51427,
    "c": 0.13364,
    "h": 143.7
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#2D7A2F
secondary
#AA59A8
accent
#52D2D6
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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