#2F714E#2F714E

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

Color values

HEX#2F714E
RGBrgb(47, 113, 78)
HSLhsl(148, 41%, 31%)
HSVhsv(148, 58%, 44%)
CMYKcmyk(58.4%, 0%, 31%, 55.7%)
CIE-LABlab(42.71, -29.88, 13.26)
CIE-LCHlch(42.71, 32.69, 156.07°)
OKLaboklab(49.57% -0.0816 0.0337)
OKLCHoklch(49.57% 0.088 157.6)
XYZxyz(8.4519, 12.9639, 9.2631)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F714E #712F52
analogous
#31712F #2F714E #2F716F
triadic
#2F714E #4E2F71 #714E2F
tetradic
#2F714E #2F3171 #712F52 #716F2F
square
#2F714E #2F3171 #712F52 #716F2F
split-complementary
#2F714E #6F2F71 #712F31
monochromatic
#0B1B12 #1D4630 #2F714E #419C6C #5EBC8A

Accessibility & contrast

On white

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

On black

3.59
#2F714E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F714E#FFFFFF#000000##FFFFFF
##2F714E1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f714e;
/* rgb */ color: rgb(47, 113, 78);
/* oklch */ color: oklch(49.6% 0.088 157.6);
Tailwind
colors: {
  custom: {
    50: '#6e9a7f',
    500: '#2f714e',
    950: '#000000',
  },
}
SCSS
$custom: #2f714e;
$custom-light: #6e9a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f714e",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 78
  },
  "hsl": {
    "h": 148.182,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.08831,
    "h": 157.6
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#2F714E
secondary
#A25A80
accent
#5798D1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2F714E

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

Preview Lab → · Contrast checker → · Palette generator →

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