#2F704E#2F704E

#2F704E is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.3% C 0.087 H 158.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2F704E
RGBrgb(47, 112, 78)
HSLhsl(149, 41%, 31%)
HSVhsv(149, 58%, 44%)
CMYKcmyk(58%, 0%, 30.4%, 56.1%)
CIE-LABlab(42.37, -29.41, 12.80)
CIE-LCHlch(42.37, 32.07, 156.49°)
OKLaboklab(49.29% -0.0804 0.0325)
OKLCHoklch(49.29% 0.087 158)
XYZxyz(8.3409, 12.7420, 9.2261)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F704E #702F51
analogous
#30702F #2F704E #2F706E
triadic
#2F704E #4E2F70 #704E2F
tetradic
#2F704E #2F3070 #702F51 #706E2F
square
#2F704E #2F3070 #702F51 #706E2F
split-complementary
#2F704E #6E2F70 #702F30
monochromatic
#0B1A12 #1D4530 #2F704E #419B6C #5EBB8B

Accessibility & contrast

On white

5.92
#2F704E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2F704E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F704E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F704E#FFFFFF#000000##FFFFFF
##2F704E1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684C
Deuteranopia (green-blind)
#666150
Tritanopia (blue-blind)
#196F67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f704e;
/* rgb */ color: rgb(47, 112, 78);
/* oklch */ color: oklch(49.3% 0.087 158.0);
Tailwind
colors: {
  custom: {
    50: '#6e997f',
    500: '#2f704e',
    950: '#000000',
  },
}
SCSS
$custom: #2f704e;
$custom-light: #6e997f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f704e",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 78
  },
  "hsl": {
    "h": 148.615,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49292,
    "c": 0.08675,
    "h": 158
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#2F704E
secondary
#A15A7F
accent
#5797D1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2F704E

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

Preview Lab → · Contrast checker → · Palette generator →

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