#30795B#30795B

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

Color values

HEX#30795B
RGBrgb(48, 121, 91)
HSLhsl(155, 43%, 33%)
HSVhsv(155, 60%, 47%)
CMYKcmyk(60.3%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.71, -30.40, 9.78)
CIE-LCHlch(45.71, 31.94, 162.17°)
OKLaboklab(52.13% -0.0839 0.025)
OKLCHoklch(52.13% 0.088 163.4)
XYZxyz(9.9437, 15.0575, 12.2779)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30795B #79304E
analogous
#307936 #30795B #307279
triadic
#30795B #5B3079 #795B30
tetradic
#30795B #363079 #79304E #727930
square
#30795B #363079 #79304E #727930
split-complementary
#30795B #793072 #793630
monochromatic
#0D2119 #1F4D3A #30795B #41A57C #62C19A

Accessibility & contrast

On white

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

On black

4.01
#30795B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##30795B#FFFFFF#000000##FFFFFF
##30795B1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777159
Deuteranopia (green-blind)
#6D695D
Tritanopia (blue-blind)
#0C7971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #30795b;
/* rgb */ color: rgb(48, 121, 91);
/* oklch */ color: oklch(52.1% 0.088 163.4);
Tailwind
colors: {
  custom: {
    50: '#70a089',
    500: '#30795b',
    950: '#000000',
  },
}
SCSS
$custom: #30795b;
$custom-light: #70a089;
$custom-dark: #000000;
JSON
{
  "hex": "#30795b",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 155.342,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.0876,
    "h": 163.4
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#30795B
secondary
#A85D7C
accent
#5589D3
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #30795B

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

Preview Lab → · Contrast checker → · Palette generator →

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