#2F712C#2F712C

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

Color values

HEX#2F712C
RGBrgb(47, 113, 44)
HSLhsl(117, 44%, 31%)
HSVhsv(117, 61%, 44%)
CMYKcmyk(58.4%, 0%, 61.1%, 55.7%)
CIE-LABlab(42.15, -35.88, 31.54)
CIE-LCHlch(42.15, 47.77, 138.68°)
OKLaboklab(48.92% -0.0977 0.0744)
OKLCHoklch(48.92% 0.123 142.7)
XYZxyz(7.5316, 12.5958, 4.4167)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F712C #6E2C71
analogous
#51712C #2F712C #2C714B
triadic
#2F712C #2C2F71 #712C2F
tetradic
#2F712C #2C5171 #6E2C71 #714B2C
square
#2F712C #2C5171 #6E2C71 #714B2C
split-complementary
#2F712C #4B2C71 #712C51
monochromatic
#0A190A #1D451B #2F712C #419D3D #5DBE59

Accessibility & contrast

On white

5.97
#2F712C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2F712C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F712C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F712C#FFFFFF#000000##FFFFFF
##2F712C1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736725
Deuteranopia (green-blind)
#6B6131
Tritanopia (blue-blind)
#256E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f712c;
/* rgb */ color: rgb(47, 113, 44);
/* oklch */ color: oklch(48.9% 0.123 142.7);
Tailwind
colors: {
  custom: {
    50: '#6f9a67',
    500: '#2f712c',
    950: '#000000',
  },
}
SCSS
$custom: #2f712c;
$custom-light: #6f9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f712c",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 44
  },
  "hsl": {
    "h": 117.391,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48923,
    "c": 0.12278,
    "h": 142.7
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#2F712C
secondary
#9F56A3
accent
#54D4CE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F712C

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

Preview Lab → · Contrast checker → · Palette generator →

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