#30795E#30795E

#30795E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.085 H 165.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#30795E
RGBrgb(48, 121, 94)
HSLhsl(158, 43%, 33%)
HSVhsv(158, 60%, 47%)
CMYKcmyk(60.3%, 0%, 22.3%, 52.5%)
CIE-LABlab(45.78, -29.68, 8.11)
CIE-LCHlch(45.78, 30.77, 164.71°)
OKLaboklab(52.21% -0.0824 0.0208)
OKLCHoklch(52.21% 0.085 165.9)
XYZxyz(10.0757, 15.1103, 12.9731)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30795E #79304B
analogous
#307939 #30795E #306F79
triadic
#30795E #5E3079 #795E30
tetradic
#30795E #393079 #79304B #6F7930
square
#30795E #393079 #79304B #6F7930
split-complementary
#30795E #79306F #793930
monochromatic
#0D211A #1F4D3C #30795E #41A580 #62C19E

Accessibility & contrast

On white

5.22
#30795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#30795E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30795E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30795E#FFFFFF#000000##FFFFFF
##30795E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715D
Deuteranopia (green-blind)
#6C6960
Tritanopia (blue-blind)
#087971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #30795e;
/* rgb */ color: rgb(48, 121, 94);
/* oklch */ color: oklch(52.2% 0.085 165.9);
Tailwind
colors: {
  custom: {
    50: '#70a08b',
    500: '#30795e',
    950: '#000000',
  },
}
SCSS
$custom: #30795e;
$custom-light: #70a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#30795e",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 157.808,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.08501,
    "h": 165.9
  },
  "luminance": 0.15111
}

Semantic roles & 50–950 ramp

primary
#30795E
secondary
#A85D79
accent
#5583D3
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #30795E

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

Preview Lab → · Contrast checker → · Palette generator →

#30795E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva