#307F5A#307F5A

#307F5A is a mid, moderate teal. Relative luminance 0.165; OKLCH L 53.7% C 0.097 H 160.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#307F5A
RGBrgb(48, 127, 90)
HSLhsl(152, 45%, 34%)
HSVhsv(152, 62%, 50%)
CMYKcmyk(62.2%, 0%, 29.1%, 50.2%)
CIE-LABlab(47.68, -33.41, 13.11)
CIE-LCHlch(47.68, 35.89, 158.59°)
OKLaboklab(53.73% -0.0915 0.0334)
OKLCHoklch(53.73% 0.097 160)
XYZxyz(10.6528, 16.5443, 12.3028)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F5A #7F3055
analogous
#307F33 #307F5A #307D7F
triadic
#307F5A #5A307F #7F5A30
tetradic
#307F5A #33307F #7F3055 #7D7F30
square
#307F5A #33307F #7F3055 #7D7F30
split-complementary
#307F5A #7F307D #7F3330
monochromatic
#0E261B #1F533B #307F5A #41AB79 #65C598

Accessibility & contrast

On white

4.87
#307F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#307F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F5A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F5A#FFFFFF#000000##FFFFFF
##307F5A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7658
Deuteranopia (green-blind)
#736E5C
Tritanopia (blue-blind)
#087E75
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #307f5a;
/* rgb */ color: rgb(48, 127, 90);
/* oklch */ color: oklch(53.7% 0.097 160.0);
Tailwind
colors: {
  custom: {
    50: '#71a588',
    500: '#307f5a',
    950: '#000000',
  },
}
SCSS
$custom: #307f5a;
$custom-light: #71a588;
$custom-dark: #000000;
JSON
{
  "hex": "#307f5a",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 90
  },
  "hsl": {
    "h": 151.899,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53728,
    "c": 0.09736,
    "h": 160
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#307F5A
secondary
#AC5F83
accent
#5390D5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #307F5A

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

Preview Lab → · Contrast checker → · Palette generator →

#307F5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva