#2D712A#2D712A

#2D712A is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.126 H 142.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2D712A
RGBrgb(45, 113, 42)
HSLhsl(117, 46%, 30%)
HSVhsv(117, 63%, 44%)
CMYKcmyk(60.2%, 0%, 62.8%, 55.7%)
CIE-LABlab(42.05, -36.68, 32.41)
CIE-LCHlch(42.05, 48.95, 138.54°)
OKLaboklab(48.82% -0.0998 0.0761)
OKLCHoklch(48.82% 0.126 142.7)
XYZxyz(7.4048, 12.5347, 4.2193)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D712A #6E2A71
analogous
#50712A #2D712A #2A714A
triadic
#2D712A #2A2D71 #712A2D
tetradic
#2D712A #2A5071 #6E2A71 #714A2A
square
#2D712A #2A5071 #6E2A71 #714A2A
split-complementary
#2D712A #4A2A71 #712A50
monochromatic
#091809 #1B4419 #2D712A #3F9E3B #5AC055

Accessibility & contrast

On white

5.99
#2D712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D712A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D712A#FFFFFF#000000##FFFFFF
##2D712A1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746722
Deuteranopia (green-blind)
#6B6130
Tritanopia (blue-blind)
#226E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d712a;
/* rgb */ color: rgb(45, 113, 42);
/* oklch */ color: oklch(48.8% 0.126 142.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a66',
    500: '#2d712a',
    950: '#000000',
  },
}
SCSS
$custom: #2d712a;
$custom-light: #6e9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d712a",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 117.465,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48818,
    "c": 0.12555,
    "h": 142.7
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#2D712A
secondary
#A054A3
accent
#52D5D0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D712A

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

Preview Lab → · Contrast checker → · Palette generator →

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