#2F7154#2F7154

#2F7154 is a mid, moderate teal. Relative luminance 0.131; OKLCH L 49.7% C 0.083 H 162.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2F7154
RGBrgb(47, 113, 84)
HSLhsl(154, 41%, 31%)
HSVhsv(154, 58%, 44%)
CMYKcmyk(58.4%, 0%, 25.7%, 55.7%)
CIE-LABlab(42.84, -28.50, 9.89)
CIE-LCHlch(42.84, 30.17, 160.86°)
OKLaboklab(49.72% -0.0786 0.0253)
OKLCHoklch(49.72% 0.083 162.2)
XYZxyz(8.6769, 13.0539, 10.4482)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7154 #712F4C
analogous
#2F7133 #2F7154 #2F6D71
triadic
#2F7154 #542F71 #71542F
tetradic
#2F7154 #332F71 #712F4C #6D712F
square
#2F7154 #332F71 #712F4C #6D712F
split-complementary
#2F7154 #712F6D #71332F
monochromatic
#0B1B14 #1D4634 #2F7154 #419C74 #5EBC93

Accessibility & contrast

On white

5.82
#2F7154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2F7154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7154
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7154#FFFFFF#000000##FFFFFF
##2F71541.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6952
Deuteranopia (green-blind)
#666256
Tritanopia (blue-blind)
#147169
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7154;
/* rgb */ color: rgb(47, 113, 84);
/* oklch */ color: oklch(49.7% 0.083 162.2);
Tailwind
colors: {
  custom: {
    50: '#6e9a84',
    500: '#2f7154',
    950: '#000000',
  },
}
SCSS
$custom: #2f7154;
$custom-light: #6e9a84;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7154",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 84
  },
  "hsl": {
    "h": 153.636,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.08255,
    "h": 162.2
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#2F7154
secondary
#A25A79
accent
#578CD1
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2F7154

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

Preview Lab → · Contrast checker → · Palette generator →

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