#2F5F4E#2F5F4E

#2F5F4E is a dark, moderate teal. Relative luminance 0.093; OKLCH L 44.6% C 0.060 H 168.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2F5F4E
RGBrgb(47, 95, 78)
HSLhsl(159, 34%, 28%)
HSVhsv(159, 51%, 37%)
CMYKcmyk(50.5%, 0%, 17.9%, 62.7%)
CIE-LABlab(36.63, -20.93, 4.73)
CIE-LCHlch(36.63, 21.45, 167.26°)
OKLaboklab(44.62% -0.0589 0.0121)
OKLCHoklch(44.62% 0.06 168.3)
XYZxyz(6.6391, 9.3383, 8.6589)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F4E #5F2F40
analogous
#2F5F36 #2F5F4E #2F585F
triadic
#2F5F4E #4E2F5F #5F4E2F
tetradic
#2F5F4E #362F5F #5F2F40 #585F2F
square
#2F5F4E #362F5F #5F2F40 #585F2F
split-complementary
#2F5F4E #5F2F58 #5F362F
monochromatic
#0A1411 #1B362C #2F5F4E #438870 #5BAE90

Accessibility & contrast

On white

7.32
#2F5F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2F5F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5F4E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F4E#FFFFFF#000000##FFFFFF
##2F5F4E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D594D
Deuteranopia (green-blind)
#55544F
Tritanopia (blue-blind)
#1E5F5A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5f4e;
/* rgb */ color: rgb(47, 95, 78);
/* oklch */ color: oklch(44.6% 0.060 168.3);
Tailwind
colors: {
  custom: {
    50: '#6b8c7f',
    500: '#2f5f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f4e;
$custom-light: #6b8c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f4e",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 78
  },
  "hsl": {
    "h": 158.75,
    "s": 33.803,
    "l": 27.843
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.0601,
    "h": 168.3
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#2F5F4E
secondary
#91596D
accent
#5E84CA
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070C0A
muted
#7A7D7C

Preview Lab

Preview with #2F5F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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