#2D712C#2D712C

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

Color values

HEX#2D712C
RGBrgb(45, 113, 44)
HSLhsl(119, 44%, 31%)
HSVhsv(119, 61%, 44%)
CMYKcmyk(60.2%, 0%, 61.1%, 55.7%)
CIE-LABlab(42.08, -36.43, 31.43)
CIE-LCHlch(42.08, 48.12, 139.21°)
OKLaboklab(48.84% -0.099 0.0742)
OKLCHoklch(48.84% 0.124 143.2)
XYZxyz(7.4415, 12.5493, 4.4125)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D712C #702C71
analogous
#4F712C #2D712C #2C714D
triadic
#2D712C #2C2D71 #712C2D
tetradic
#2D712C #2C4F71 #702C71 #714D2C
square
#2D712C #2C4F71 #702C71 #714D2C
split-complementary
#2D712C #4D2C71 #712C4F
monochromatic
#0A190A #1B451B #2D712C #3F9D3D #5ABE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D712C#FFFFFF#000000##FFFFFF
##2D712C1.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)
#736725
Deuteranopia (green-blind)
#6B6131
Tritanopia (blue-blind)
#226E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d712c;
/* rgb */ color: rgb(45, 113, 44);
/* oklch */ color: oklch(48.8% 0.124 143.2);
Tailwind
colors: {
  custom: {
    50: '#6e9a67',
    500: '#2d712c',
    950: '#000000',
  },
}
SCSS
$custom: #2d712c;
$custom-light: #6e9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d712c",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 44
  },
  "hsl": {
    "h": 119.13,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.12376,
    "h": 143.2
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#2D712C
secondary
#A256A3
accent
#54D4D2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D712C

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

Preview Lab → · Contrast checker → · Palette generator →

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