#2D712F#2D712F

#2D712F is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.121 H 143.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2D712F
RGBrgb(45, 113, 47)
HSLhsl(122, 43%, 31%)
HSVhsv(122, 60%, 44%)
CMYKcmyk(60.2%, 0%, 58.4%, 55.7%)
CIE-LABlab(42.11, -36.02, 29.93)
CIE-LCHlch(42.11, 46.84, 140.28°)
OKLaboklab(48.89% -0.0978 0.0712)
OKLCHoklch(48.89% 0.121 143.9)
XYZxyz(7.5000, 12.5727, 4.7203)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D712F #712D6F
analogous
#4D712D #2D712F #2D7151
triadic
#2D712F #2F2D71 #712F2D
tetradic
#2D712F #2D4D71 #712D6F #71512D
square
#2D712F #2D4D71 #712D6F #71512D
split-complementary
#2D712F #512D71 #712D4D
monochromatic
#0A190B #1C451D #2D712F #3E9D41 #5BBE5E

Accessibility & contrast

On white

5.98
#2D712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2D712F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D712F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D712F#FFFFFF#000000##FFFFFF
##2D712F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#216E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d712f;
/* rgb */ color: rgb(45, 113, 47);
/* oklch */ color: oklch(48.9% 0.121 143.9);
Tailwind
colors: {
  custom: {
    50: '#6d9a69',
    500: '#2d712f',
    950: '#000000',
  },
}
SCSS
$custom: #2d712f;
$custom-light: #6d9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d712f",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 121.765,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.12098,
    "h": 143.9
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#2D712F
secondary
#A357A0
accent
#55CFD3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D712F

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

Preview Lab → · Contrast checker → · Palette generator →

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