#28845F#28845F

#28845F is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.0% C 0.104 H 162.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#28845F
RGBrgb(40, 132, 95)
HSLhsl(156, 53%, 34%)
HSVhsv(156, 70%, 52%)
CMYKcmyk(69.7%, 0%, 28%, 48.2%)
CIE-LABlab(49.23, -36.09, 12.32)
CIE-LCHlch(49.23, 38.13, 161.15°)
OKLaboklab(54.97% -0.0989 0.0314)
OKLCHoklch(54.97% 0.104 162.4)
XYZxyz(11.1907, 17.7786, 13.6661)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28845F #84284D
analogous
#288431 #28845F #287B84
triadic
#28845F #5F2884 #845F28
tetradic
#28845F #312884 #84284D #7B8428
square
#28845F #312884 #84284D #7B8428
split-complementary
#28845F #84287B #843128
monochromatic
#0C261B #1A553D #28845F #36B381 #5ACD9E

Accessibility & contrast

On white

4.61
#28845F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#28845F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #28845F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28845F#FFFFFF#000000##FFFFFF
##28845F1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827A5D
Deuteranopia (green-blind)
#767161
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #28845f;
/* rgb */ color: rgb(40, 132, 95);
/* oklch */ color: oklch(55.0% 0.104 162.4);
Tailwind
colors: {
  custom: {
    50: '#6ea88c',
    500: '#28845f',
    950: '#000000',
  },
}
SCSS
$custom: #28845f;
$custom-light: #6ea88c;
$custom-dark: #000000;
JSON
{
  "hex": "#28845f",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 155.87,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54968,
    "c": 0.1038,
    "h": 162.4
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#28845F
secondary
#B2567B
accent
#4B86DD
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #28845F

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

Preview Lab → · Contrast checker → · Palette generator →

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