#2F7255#2F7255

#2F7255 is a mid, moderate teal. Relative luminance 0.133; OKLCH L 50.0% C 0.083 H 162.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2F7255
RGBrgb(47, 114, 85)
HSLhsl(154, 42%, 32%)
HSVhsv(154, 59%, 45%)
CMYKcmyk(58.8%, 0%, 25.4%, 55.3%)
CIE-LABlab(43.20, -28.75, 9.80)
CIE-LCHlch(43.20, 30.37, 161.17°)
OKLaboklab(50.02% -0.0793 0.0251)
OKLCHoklch(50.02% 0.083 162.5)
XYZxyz(8.8285, 13.2940, 10.6933)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7255 #722F4C
analogous
#2F7234 #2F7255 #2F6E72
triadic
#2F7255 #552F72 #72552F
tetradic
#2F7255 #342F72 #722F4C #6E722F
square
#2F7255 #342F72 #722F4C #6E722F
split-complementary
#2F7255 #722F6E #72342F
monochromatic
#0B1B14 #1D4735 #2F7255 #419D75 #5FBD94

Accessibility & contrast

On white

5.74
#2F7255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2F7255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7255
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7255#FFFFFF#000000##FFFFFF
##2F72551.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706A53
Deuteranopia (green-blind)
#676357
Tritanopia (blue-blind)
#13726A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7255;
/* rgb */ color: rgb(47, 114, 85);
/* oklch */ color: oklch(50.0% 0.083 162.5);
Tailwind
colors: {
  custom: {
    50: '#6e9b85',
    500: '#2f7255',
    950: '#000000',
  },
}
SCSS
$custom: #2f7255;
$custom-light: #6e9b85;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7255",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 85
  },
  "hsl": {
    "h": 154.03,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.08315,
    "h": 162.5
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#2F7255
secondary
#A35A79
accent
#568CD1
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #2F7255

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

Preview Lab → · Contrast checker → · Palette generator →

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