#2D712D#2D712D

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

Color values

HEX#2D712D
RGBrgb(45, 113, 45)
HSLhsl(120, 43%, 31%)
HSVhsv(120, 60%, 44%)
CMYKcmyk(60.2%, 0%, 60.2%, 55.7%)
CIE-LABlab(42.09, -36.30, 30.94)
CIE-LCHlch(42.09, 47.69, 139.56°)
OKLaboklab(48.86% -0.0986 0.0732)
OKLCHoklch(48.86% 0.123 143.4)
XYZxyz(7.4606, 12.5569, 4.5127)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D712D #712D71
analogous
#4F712D #2D712D #2D714F
triadic
#2D712D #2D2D71 #712D2D
tetradic
#2D712D #2D4F71 #712D71 #714F2D
square
#2D712D #2D4F71 #712D71 #714F2D
split-complementary
#2D712D #4F2D71 #712D4F
monochromatic
#0A190A #1C451C #2D712D #3E9D3E #5BBE5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D712D#FFFFFF#000000##FFFFFF
##2D712D1.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)
#736726
Deuteranopia (green-blind)
#6B6132
Tritanopia (blue-blind)
#216E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d712d;
/* rgb */ color: rgb(45, 113, 45);
/* oklch */ color: oklch(48.9% 0.123 143.4);
Tailwind
colors: {
  custom: {
    50: '#6e9a68',
    500: '#2d712d',
    950: '#000000',
  },
}
SCSS
$custom: #2d712d;
$custom-light: #6e9a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2d712d",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48858,
    "c": 0.12284,
    "h": 143.4
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#2D712D
secondary
#A357A3
accent
#55D3D3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D712D

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

Preview Lab → · Contrast checker → · Palette generator →

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