#30795C#30795C

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

Color values

HEX#30795C
RGBrgb(48, 121, 92)
HSLhsl(156, 43%, 33%)
HSVhsv(156, 60%, 47%)
CMYKcmyk(60.3%, 0%, 24%, 52.5%)
CIE-LABlab(45.74, -30.16, 9.22)
CIE-LCHlch(45.74, 31.54, 163.00°)
OKLaboklab(52.15% -0.0834 0.0236)
OKLCHoklch(52.15% 0.087 164.2)
XYZxyz(9.9871, 15.0749, 12.5066)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30795C #79304D
analogous
#307937 #30795C #307179
triadic
#30795C #5C3079 #795C30
tetradic
#30795C #373079 #79304D #717930
square
#30795C #373079 #79304D #717930
split-complementary
#30795C #793071 #793730
monochromatic
#0D2119 #1F4D3B #30795C #41A57D #62C19B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30795C#FFFFFF#000000##FFFFFF
##30795C1.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)
#77715A
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#0B7971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #30795c;
/* rgb */ color: rgb(48, 121, 92);
/* oklch */ color: oklch(52.2% 0.087 164.2);
Tailwind
colors: {
  custom: {
    50: '#70a08a',
    500: '#30795c',
    950: '#000000',
  },
}
SCSS
$custom: #30795c;
$custom-light: #70a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#30795c",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 156.164,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52155,
    "c": 0.08673,
    "h": 164.2
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#30795C
secondary
#A85D7B
accent
#5587D3
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #30795C

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

Preview Lab → · Contrast checker → · Palette generator →

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