#478271#478271

#478271 is a mid, moderate teal. Relative luminance 0.185; OKLCH L 56.1% C 0.068 H 173.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#478271
RGBrgb(71, 130, 113)
HSLhsl(163, 29%, 39%)
HSVhsv(163, 45%, 51%)
CMYKcmyk(45.4%, 0%, 13.1%, 49%)
CIE-LABlab(50.09, -23.61, 3.23)
CIE-LCHlch(50.09, 23.83, 172.21°)
OKLaboklab(56.12% -0.0674 0.0082)
OKLCHoklch(56.12% 0.068 173.1)
XYZxyz(13.5606, 18.4961, 18.4751)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478271 #824758
analogous
#478254 #478271 #477682
triadic
#478271 #714782 #827147
tetradic
#478271 #544782 #824758 #768247
square
#478271 #544782 #824758 #768247
split-complementary
#478271 #824776 #825447
monochromatic
#1C332C #315A4F #478271 #5FA793 #86BDAD

Accessibility & contrast

On white

4.47
#478271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#478271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478271
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478271#FFFFFF#000000##000000
##4782711.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7B70
Deuteranopia (green-blind)
#757472
Tritanopia (blue-blind)
#32837D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #478271;
/* rgb */ color: rgb(71, 130, 113);
/* oklch */ color: oklch(56.1% 0.068 173.1);
Tailwind
colors: {
  custom: {
    50: '#7ea699',
    500: '#478271',
    950: '#000000',
  },
}
SCSS
$custom: #478271;
$custom-light: #7ea699;
$custom-dark: #000000;
JSON
{
  "hex": "#478271",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 162.712,
    "s": 29.353,
    "l": 39.412
  },
  "oklch": {
    "l": 0.56119,
    "c": 0.06791,
    "h": 173.1
  },
  "luminance": 0.18497
}

Semantic roles & 50–950 ramp

primary
#478271
secondary
#A97C89
accent
#627FC6
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A0F0E
muted
#7C7F7E

Preview Lab

Preview with #478271

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

Preview Lab → · Contrast checker → · Palette generator →

#478271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva