#2F714F#2F714F

#2F714F is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.6% C 0.087 H 158.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2F714F
RGBrgb(47, 113, 79)
HSLhsl(149, 41%, 31%)
HSVhsv(149, 58%, 44%)
CMYKcmyk(58.4%, 0%, 30.1%, 55.7%)
CIE-LABlab(42.73, -29.66, 12.70)
CIE-LCHlch(42.73, 32.26, 156.82°)
OKLaboklab(49.59% -0.0811 0.0323)
OKLCHoklch(49.59% 0.087 158.3)
XYZxyz(8.4880, 12.9783, 9.4534)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F714F #712F51
analogous
#30712F #2F714F #2F7170
triadic
#2F714F #4F2F71 #714F2F
tetradic
#2F714F #2F3071 #712F51 #71702F
square
#2F714F #2F3071 #712F51 #71702F
split-complementary
#2F714F #702F71 #712F30
monochromatic
#0B1B13 #1D4631 #2F714F #419C6D #5EBC8C

Accessibility & contrast

On white

5.84
#2F714F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2F714F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F714F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F714F#FFFFFF#000000##FFFFFF
##2F714F1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694D
Deuteranopia (green-blind)
#676251
Tritanopia (blue-blind)
#187068
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f714f;
/* rgb */ color: rgb(47, 113, 79);
/* oklch */ color: oklch(49.6% 0.087 158.3);
Tailwind
colors: {
  custom: {
    50: '#6e9a80',
    500: '#2f714f',
    950: '#000000',
  },
}
SCSS
$custom: #2f714f;
$custom-light: #6e9a80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f714f",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 79
  },
  "hsl": {
    "h": 149.091,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49592,
    "c": 0.08733,
    "h": 158.3
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#2F714F
secondary
#A25A7F
accent
#5796D1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2F714F

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

Preview Lab → · Contrast checker → · Palette generator →

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