#30795F#30795F

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

Color values

HEX#30795F
RGBrgb(48, 121, 95)
HSLhsl(159, 43%, 33%)
HSVhsv(159, 60%, 47%)
CMYKcmyk(60.3%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.81, -29.43, 7.56)
CIE-LCHlch(45.81, 30.39, 165.60°)
OKLaboklab(52.24% -0.0819 0.0194)
OKLCHoklch(52.24% 0.084 166.7)
XYZxyz(10.1208, 15.1284, 13.2110)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30795F #79304A
analogous
#30793A #30795F #306E79
triadic
#30795F #5F3079 #795F30
tetradic
#30795F #3A3079 #79304A #6E7930
square
#30795F #3A3079 #79304A #6E7930
split-complementary
#30795F #79306E #793A30
monochromatic
#0D211A #1F4D3D #30795F #41A581 #62C19F

Accessibility & contrast

On white

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

On black

4.03
#30795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##30795F#FFFFFF#000000##FFFFFF
##30795F1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715E
Deuteranopia (green-blind)
#6C6961
Tritanopia (blue-blind)
#077972
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #30795f;
/* rgb */ color: rgb(48, 121, 95);
/* oklch */ color: oklch(52.2% 0.084 166.7);
Tailwind
colors: {
  custom: {
    50: '#70a08c',
    500: '#30795f',
    950: '#000000',
  },
}
SCSS
$custom: #30795f;
$custom-light: #70a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#30795f",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 158.63,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52238,
    "c": 0.08419,
    "h": 166.7
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#30795F
secondary
#A85D78
accent
#5582D3
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #30795F

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

Preview Lab → · Contrast checker → · Palette generator →

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