#2F7447#2F7447

#2F7447 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.2% C 0.100 H 152.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2F7447
RGBrgb(47, 116, 71)
HSLhsl(141, 42%, 32%)
HSVhsv(141, 59%, 45%)
CMYKcmyk(59.5%, 0%, 38.8%, 54.5%)
CIE-LABlab(43.58, -32.74, 18.52)
CIE-LCHlch(43.58, 37.61, 150.50°)
OKLaboklab(50.23% -0.0888 0.0463)
OKLCHoklch(50.23% 0.1 152.4)
XYZxyz(8.5544, 13.5493, 8.1245)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7447 #742F5C
analogous
#3A742F #2F7447 #2F746A
triadic
#2F7447 #472F74 #74472F
tetradic
#2F7447 #2F3A74 #742F5C #746A2F
square
#2F7447 #2F3A74 #742F5C #746A2F
split-complementary
#2F7447 #6A2F74 #742F3A
monochromatic
#0C1D12 #1D482C #2F7447 #41A062 #5FBE80

Accessibility & contrast

On white

5.66
#2F7447 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2F7447 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7447
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7447#FFFFFF#000000##FFFFFF
##2F74471.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746B44
Deuteranopia (green-blind)
#6B644A
Tritanopia (blue-blind)
#1B7269
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7447;
/* rgb */ color: rgb(47, 116, 71);
/* oklch */ color: oklch(50.2% 0.100 152.4);
Tailwind
colors: {
  custom: {
    50: '#6e9c7a',
    500: '#2f7447',
    950: '#000000',
  },
}
SCSS
$custom: #2f7447;
$custom-light: #6e9c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7447",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 71
  },
  "hsl": {
    "h": 140.87,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50233,
    "c": 0.10012,
    "h": 152.4
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#2F7447
secondary
#A55A8B
accent
#56A7D2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #2F7447

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

Preview Lab → · Contrast checker → · Palette generator →

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