#2F704A#2F704A

#2F704A is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.2% C 0.091 H 155.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2F704A
RGBrgb(47, 112, 74)
HSLhsl(145, 41%, 31%)
HSVhsv(145, 58%, 44%)
CMYKcmyk(58%, 0%, 33.9%, 56.1%)
CIE-LABlab(42.29, -30.29, 15.04)
CIE-LCHlch(42.29, 33.81, 153.59°)
OKLaboklab(49.19% -0.0825 0.038)
OKLCHoklch(49.19% 0.091 155.3)
XYZxyz(8.2018, 12.6864, 8.4937)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F704A #702F55
analogous
#34702F #2F704A #2F706A
triadic
#2F704A #4A2F70 #704A2F
tetradic
#2F704A #2F3470 #702F55 #706A2F
square
#2F704A #2F3470 #702F55 #706A2F
split-complementary
#2F704A #6A2F70 #702F34
monochromatic
#0B1A11 #1D452E #2F704A #419B66 #5EBB85

Accessibility & contrast

On white

5.94
#2F704A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2F704A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F704A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F704A#FFFFFF#000000##FFFFFF
##2F704A1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706848
Deuteranopia (green-blind)
#67614C
Tritanopia (blue-blind)
#1B6F66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f704a;
/* rgb */ color: rgb(47, 112, 74);
/* oklch */ color: oklch(49.2% 0.091 155.3);
Tailwind
colors: {
  custom: {
    50: '#6e997c',
    500: '#2f704a',
    950: '#000000',
  },
}
SCSS
$custom: #2f704a;
$custom-light: #6e997c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f704a",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 74
  },
  "hsl": {
    "h": 144.923,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49194,
    "c": 0.09079,
    "h": 155.3
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#2F704A
secondary
#A15A83
accent
#579ED1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2F704A

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

Preview Lab → · Contrast checker → · Palette generator →

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