#2F785D#2F785D

#2F785D is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.9% C 0.085 H 165.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2F785D
RGBrgb(47, 120, 93)
HSLhsl(158, 44%, 33%)
HSVhsv(158, 61%, 47%)
CMYKcmyk(60.8%, 0%, 22.5%, 52.9%)
CIE-LABlab(45.40, -29.67, 8.15)
CIE-LCHlch(45.40, 30.77, 164.65°)
OKLaboklab(51.88% -0.0824 0.0209)
OKLCHoklch(51.88% 0.085 165.8)
XYZxyz(9.8636, 14.8266, 12.6958)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F785D #782F4A
analogous
#2F7838 #2F785D #2F6F78
triadic
#2F785D #5D2F78 #785D2F
tetradic
#2F785D #382F78 #782F4A #6F782F
square
#2F785D #382F78 #782F4A #6F782F
split-complementary
#2F785D #782F6F #78382F
monochromatic
#0D2019 #1E4C3B #2F785D #40A47F #60C19D

Accessibility & contrast

On white

5.30
#2F785D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2F785D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F785D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F785D#FFFFFF#000000##FFFFFF
##2F785D1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705C
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#067870
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f785d;
/* rgb */ color: rgb(47, 120, 93);
/* oklch */ color: oklch(51.9% 0.085 165.8);
Tailwind
colors: {
  custom: {
    50: '#6f9f8b',
    500: '#2f785d',
    950: '#000000',
  },
}
SCSS
$custom: #2f785d;
$custom-light: #6f9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f785d",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 93
  },
  "hsl": {
    "h": 157.808,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51875,
    "c": 0.08499,
    "h": 165.8
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#2F785D
secondary
#A85B77
accent
#5483D3
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #2F785D

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

Preview Lab → · Contrast checker → · Palette generator →

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