#28815C#28815C

#28815C is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.1% C 0.102 H 161.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#28815C
RGBrgb(40, 129, 92)
HSLhsl(155, 53%, 33%)
HSVhsv(155, 69%, 51%)
CMYKcmyk(69%, 0%, 28.7%, 49.4%)
CIE-LABlab(48.16, -35.47, 12.58)
CIE-LCHlch(48.16, 37.63, 160.47°)
OKLaboklab(54.07% -0.0971 0.032)
OKLCHoklch(54.07% 0.102 161.7)
XYZxyz(10.6560, 16.9232, 12.8281)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28815C #81284D
analogous
#28812F #28815C #287981
triadic
#28815C #5C2881 #815C28
tetradic
#28815C #2F2881 #81284D #798128
square
#28815C #2F2881 #81284D #798128
split-complementary
#28815C #812879 #812F28
monochromatic
#0B2419 #1A523B #28815C #36B07D #58CB9B

Accessibility & contrast

On white

4.79
#28815C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#28815C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28815C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28815C#FFFFFF#000000##FFFFFF
##28815C1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F775A
Deuteranopia (green-blind)
#736F5E
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #28815c;
/* rgb */ color: rgb(40, 129, 92);
/* oklch */ color: oklch(54.1% 0.102 161.7);
Tailwind
colors: {
  custom: {
    50: '#6ea68a',
    500: '#28815c',
    950: '#000000',
  },
}
SCSS
$custom: #28815c;
$custom-light: #6ea68a;
$custom-dark: #000000;
JSON
{
  "hex": "#28815c",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 92
  },
  "hsl": {
    "h": 155.056,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.10229,
    "h": 161.7
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#28815C
secondary
#B0547B
accent
#4C88DC
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #28815C

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

Preview Lab → · Contrast checker → · Palette generator →

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