#307B5F#307B5F

#307B5F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.8% C 0.087 H 165.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#307B5F
RGBrgb(48, 123, 95)
HSLhsl(158, 44%, 34%)
HSVhsv(158, 61%, 48%)
CMYKcmyk(61%, 0%, 22.8%, 51.8%)
CIE-LABlab(46.47, -30.38, 8.49)
CIE-LCHlch(46.47, 31.55, 164.38°)
OKLaboklab(52.78% -0.0843 0.0217)
OKLCHoklch(52.78% 0.087 165.5)
XYZxyz(10.3664, 15.6195, 13.2928)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B5F #7B304C
analogous
#307B39 #307B5F #30717B
triadic
#307B5F #5F307B #7B5F30
tetradic
#307B5F #39307B #7B304C #717B30
square
#307B5F #39307B #7B304C #717B30
split-complementary
#307B5F #7B3071 #7B3930
monochromatic
#0E231B #1F4F3D #307B5F #41A781 #63C29F

Accessibility & contrast

On white

5.09
#307B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#307B5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B5F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B5F#FFFFFF#000000##FFFFFF
##307B5F1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735E
Deuteranopia (green-blind)
#6E6B61
Tritanopia (blue-blind)
#057B73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307b5f;
/* rgb */ color: rgb(48, 123, 95);
/* oklch */ color: oklch(52.8% 0.087 165.5);
Tailwind
colors: {
  custom: {
    50: '#70a28c',
    500: '#307b5f',
    950: '#000000',
  },
}
SCSS
$custom: #307b5f;
$custom-light: #70a28c;
$custom-dark: #000000;
JSON
{
  "hex": "#307b5f",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 95
  },
  "hsl": {
    "h": 157.6,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52778,
    "c": 0.08705,
    "h": 165.5
  },
  "luminance": 0.15621
}

Semantic roles & 50–950 ramp

primary
#307B5F
secondary
#A95D7A
accent
#5484D4
background
#F7FAF8
surface
#EDF3F0
border
#C8CDCB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #307B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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