#2F5745#2F5745

#2F5745 is a dark, muted teal. Relative luminance 0.079; OKLCH L 42.1% C 0.055 H 163.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2F5745
RGBrgb(47, 87, 69)
HSLhsl(153, 30%, 26%)
HSVhsv(153, 46%, 34%)
CMYKcmyk(46%, 0%, 20.7%, 65.9%)
CIE-LABlab(33.67, -18.90, 6.11)
CIE-LCHlch(33.67, 19.86, 162.10°)
OKLaboklab(42.14% -0.0527 0.0157)
OKLCHoklch(42.14% 0.055 163.4)
XYZxyz(5.6542, 7.8500, 6.8463)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5745 #572F41
analogous
#2F5731 #2F5745 #2F5557
triadic
#2F5745 #452F57 #57452F
tetradic
#2F5745 #312F57 #572F41 #55572F
square
#2F5745 #312F57 #572F41 #55572F
split-complementary
#2F5745 #572F55 #57312F
monochromatic
#0B1410 #1A2F25 #2F5745 #447F65 #5AA684

Accessibility & contrast

On white

8.17
#2F5745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2F5745 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5745
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5745#FFFFFF#000000##FFFFFF
##2F57451.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565244
Deuteranopia (green-blind)
#4F4D46
Tritanopia (blue-blind)
#245752
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f5745;
/* rgb */ color: rgb(47, 87, 69);
/* oklch */ color: oklch(42.1% 0.055 163.4);
Tailwind
colors: {
  custom: {
    50: '#6a8678',
    500: '#2f5745',
    950: '#000000',
  },
}
SCSS
$custom: #2f5745;
$custom-light: #6a8678;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5745",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 69
  },
  "hsl": {
    "h": 153,
    "s": 29.851,
    "l": 26.275
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.05498,
    "h": 163.4
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#2F5745
secondary
#88596F
accent
#628FC6
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#060B09
muted
#7A7C7B

Preview Lab

Preview with #2F5745

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

Preview Lab → · Contrast checker → · Palette generator →

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