#2F7451#2F7451

#2F7451 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.5% C 0.090 H 158.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7451
RGBrgb(47, 116, 81)
HSLhsl(150, 42%, 32%)
HSVhsv(150, 59%, 45%)
CMYKcmyk(59.5%, 0%, 30.2%, 54.5%)
CIE-LABlab(43.78, -30.62, 12.97)
CIE-LCHlch(43.78, 33.25, 157.04°)
OKLaboklab(50.47% -0.0837 0.033)
OKLCHoklch(50.47% 0.09 158.5)
XYZxyz(8.9021, 13.6884, 9.9560)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7451 #742F52
analogous
#30742F #2F7451 #2F7474
triadic
#2F7451 #512F74 #74512F
tetradic
#2F7451 #2F3074 #742F52 #74742F
square
#2F7451 #2F3074 #742F52 #74742F
split-complementary
#2F7451 #742F74 #742F30
monochromatic
#0C1D14 #1D4833 #2F7451 #41A06F #5FBE8E

Accessibility & contrast

On white

5.62
#2F7451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2F7451 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7451
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7451#FFFFFF#000000##FFFFFF
##2F74511.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736C4F
Deuteranopia (green-blind)
#696553
Tritanopia (blue-blind)
#15736B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7451;
/* rgb */ color: rgb(47, 116, 81);
/* oklch */ color: oklch(50.5% 0.090 158.5);
Tailwind
colors: {
  custom: {
    50: '#6e9c82',
    500: '#2f7451',
    950: '#000000',
  },
}
SCSS
$custom: #2f7451;
$custom-light: #6e9c82;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7451",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 81
  },
  "hsl": {
    "h": 149.565,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50466,
    "c": 0.08998,
    "h": 158.5
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#2F7451
secondary
#A55A80
accent
#5695D2
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2F7451

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

Preview Lab → · Contrast checker → · Palette generator →

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