#308162#308162

#308162 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.5% C 0.093 H 164.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#308162
RGBrgb(48, 129, 98)
HSLhsl(157, 46%, 35%)
HSVhsv(157, 63%, 51%)
CMYKcmyk(62.8%, 0%, 24%, 49.4%)
CIE-LABlab(48.52, -32.46, 9.63)
CIE-LCHlch(48.52, 33.86, 163.47°)
OKLaboklab(54.48% -0.0898 0.0246)
OKLCHoklch(54.48% 0.093 164.6)
XYZxyz(11.2727, 17.2096, 14.2806)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308162 #81304F
analogous
#308139 #308162 #307881
triadic
#308162 #623081 #816230
tetradic
#308162 #393081 #81304F #788130
square
#308162 #393081 #81304F #788130
split-complementary
#308162 #813078 #813930
monochromatic
#0F281E #1F5440 #308162 #41AE84 #66C6A1

Accessibility & contrast

On white

4.73
#308162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#308162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308162
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308162#FFFFFF#000000##FFFFFF
##3081621.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7860
Deuteranopia (green-blind)
#737064
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308162;
/* rgb */ color: rgb(48, 129, 98);
/* oklch */ color: oklch(54.5% 0.093 164.6);
Tailwind
colors: {
  custom: {
    50: '#71a68e',
    500: '#308162',
    950: '#000000',
  },
}
SCSS
$custom: #308162;
$custom-light: #71a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#308162",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 157.037,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.09308,
    "h": 164.6
  },
  "luminance": 0.17211
}

Semantic roles & 50–950 ramp

primary
#308162
secondary
#AD607D
accent
#5285D5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #308162

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

Preview Lab → · Contrast checker → · Palette generator →

#308162 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva