#30795D#30795D

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

Color values

HEX#30795D
RGBrgb(48, 121, 93)
HSLhsl(157, 43%, 33%)
HSVhsv(157, 60%, 47%)
CMYKcmyk(60.3%, 0%, 23.1%, 52.5%)
CIE-LABlab(45.76, -29.92, 8.67)
CIE-LCHlch(45.76, 31.15, 163.85°)
OKLaboklab(52.18% -0.0829 0.0222)
OKLCHoklch(52.18% 0.086 165)
XYZxyz(10.0311, 15.0925, 12.7383)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30795D #79304C
analogous
#307938 #30795D #307079
triadic
#30795D #5D3079 #795D30
tetradic
#30795D #383079 #79304C #707930
square
#30795D #383079 #79304C #707930
split-complementary
#30795D #793070 #793830
monochromatic
#0D211A #1F4D3B #30795D #41A57F #62C19D

Accessibility & contrast

On white

5.23
#30795D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30795D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30795D#FFFFFF#000000##FFFFFF
##30795D1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715C
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#097971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #30795d;
/* rgb */ color: rgb(48, 121, 93);
/* oklch */ color: oklch(52.2% 0.086 165.0);
Tailwind
colors: {
  custom: {
    50: '#70a08b',
    500: '#30795d',
    950: '#000000',
  },
}
SCSS
$custom: #30795d;
$custom-light: #70a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#30795d",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 156.986,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.08586,
    "h": 165
  },
  "luminance": 0.15093
}

Semantic roles & 50–950 ramp

primary
#30795D
secondary
#A85D7A
accent
#5585D3
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #30795D

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

Preview Lab → · Contrast checker → · Palette generator →

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