#307F5F#307F5F

#307F5F is a mid, moderate teal. Relative luminance 0.166; OKLCH L 53.9% C 0.093 H 163.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#307F5F
RGBrgb(48, 127, 95)
HSLhsl(156, 45%, 34%)
HSVhsv(156, 62%, 50%)
CMYKcmyk(62.2%, 0%, 25.2%, 50.2%)
CIE-LABlab(47.79, -32.25, 10.35)
CIE-LCHlch(47.79, 33.87, 162.20°)
OKLaboklab(53.86% -0.089 0.0265)
OKLCHoklch(53.86% 0.093 163.4)
XYZxyz(10.8728, 16.6323, 13.4616)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F5F #7F3050
analogous
#307F38 #307F5F #30787F
triadic
#307F5F #5F307F #7F5F30
tetradic
#307F5F #38307F #7F3050 #787F30
square
#307F5F #38307F #7F3050 #787F30
split-complementary
#307F5F #7F3078 #7F3830
monochromatic
#0E261D #1F533E #307F5F #41AB80 #65C59E

Accessibility & contrast

On white

4.85
#307F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#307F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F5F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F5F#FFFFFF#000000##FFFFFF
##307F5F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D765D
Deuteranopia (green-blind)
#726E61
Tritanopia (blue-blind)
#017F76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #307f5f;
/* rgb */ color: rgb(48, 127, 95);
/* oklch */ color: oklch(53.9% 0.093 163.4);
Tailwind
colors: {
  custom: {
    50: '#71a58c',
    500: '#307f5f',
    950: '#000000',
  },
}
SCSS
$custom: #307f5f;
$custom-light: #71a58c;
$custom-dark: #000000;
JSON
{
  "hex": "#307f5f",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 95
  },
  "hsl": {
    "h": 155.696,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.09281,
    "h": 163.4
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#307F5F
secondary
#AC5F7E
accent
#5388D5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #307F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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