#2D712B#2D712B

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

Color values

HEX#2D712B
RGBrgb(45, 113, 43)
HSLhsl(118, 45%, 31%)
HSVhsv(118, 62%, 44%)
CMYKcmyk(60.2%, 0%, 61.9%, 55.7%)
CIE-LABlab(42.06, -36.56, 31.93)
CIE-LCHlch(42.06, 48.53, 138.87°)
OKLaboklab(48.83% -0.0994 0.0752)
OKLCHoklch(48.83% 0.125 142.9)
XYZxyz(7.4230, 12.5419, 4.3147)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D712B #6F2B71
analogous
#50712B #2D712B #2B714C
triadic
#2D712B #2B2D71 #712B2D
tetradic
#2D712B #2B5071 #6F2B71 #714C2B
square
#2D712B #2B5071 #6F2B71 #714C2B
split-complementary
#2D712B #4C2B71 #712B50
monochromatic
#0A1809 #1B451A #2D712B #3F9D3C #5ABF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2d712b;
/* rgb */ color: rgb(45, 113, 43);
/* oklch */ color: oklch(48.8% 0.125 142.9);
Tailwind
colors: {
  custom: {
    50: '#6e9a67',
    500: '#2d712b',
    950: '#000000',
  },
}
SCSS
$custom: #2d712b;
$custom-light: #6e9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d712b",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 118.286,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48831,
    "c": 0.12466,
    "h": 142.9
  },
  "luminance": 0.12543
}

Semantic roles & 50–950 ramp

primary
#2D712B
secondary
#A155A3
accent
#53D5D1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D712B

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

Preview Lab → · Contrast checker → · Palette generator →

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