#2F704F#2F704F

#2F704F is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.086 H 158.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2F704F
RGBrgb(47, 112, 79)
HSLhsl(150, 41%, 31%)
HSVhsv(150, 58%, 44%)
CMYKcmyk(58%, 0%, 29.5%, 56.1%)
CIE-LABlab(42.39, -29.19, 12.23)
CIE-LCHlch(42.39, 31.65, 157.26°)
OKLaboklab(49.32% -0.0799 0.0311)
OKLCHoklch(49.32% 0.086 158.7)
XYZxyz(8.3770, 12.7564, 9.4164)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F704F #702F50
analogous
#2F702F #2F704F #2F706F
triadic
#2F704F #4F2F70 #704F2F
tetradic
#2F704F #2F2F70 #702F50 #706F2F
square
#2F704F #2F2F70 #702F50 #706F2F
split-complementary
#2F704F #6F2F70 #702F2F
monochromatic
#0B1A12 #1D4531 #2F704F #419B6D #5EBB8C

Accessibility & contrast

On white

5.91
#2F704F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F704F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F704F#FFFFFF#000000##FFFFFF
##2F704F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684D
Deuteranopia (green-blind)
#666151
Tritanopia (blue-blind)
#186F67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f704f;
/* rgb */ color: rgb(47, 112, 79);
/* oklch */ color: oklch(49.3% 0.086 158.7);
Tailwind
colors: {
  custom: {
    50: '#6e9980',
    500: '#2f704f',
    950: '#000000',
  },
}
SCSS
$custom: #2f704f;
$custom-light: #6e9980;
$custom-dark: #000000;
JSON
{
  "hex": "#2f704f",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 79
  },
  "hsl": {
    "h": 149.538,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49317,
    "c": 0.08577,
    "h": 158.7
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#2F704F
secondary
#A15A7E
accent
#5795D1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2F704F

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

Preview Lab → · Contrast checker → · Palette generator →

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