#288F5F#288F5F

#288F5F is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.0% C 0.119 H 158.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#288F5F
RGBrgb(40, 143, 95)
HSLhsl(152, 56%, 36%)
HSVhsv(152, 72%, 56%)
CMYKcmyk(72%, 0%, 33.6%, 43.9%)
CIE-LABlab(52.86, -40.79, 17.33)
CIE-LCHlch(52.86, 44.32, 156.98°)
OKLaboklab(57.96% -0.1108 0.0438)
OKLCHoklch(57.96% 0.119 158.4)
XYZxyz(12.7618, 20.9208, 14.1898)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F5F #8F2858
analogous
#288F2B #288F5F #288B8F
triadic
#288F5F #5F288F #8F5F28
tetradic
#288F5F #2B288F #8F2858 #8B8F28
square
#288F5F #2B288F #8F2858 #8B8F28
split-complementary
#288F5F #8F288B #8F2B28
monochromatic
#0D2F1F #1B5F3F #288F5F #35BF7F #5FD29D

Accessibility & contrast

On white

4.05
#288F5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#288F5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F5F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F5F#FFFFFF#000000##000000
##288F5F1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845C
Deuteranopia (green-blind)
#817A62
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #288f5f;
/* rgb */ color: rgb(40, 143, 95);
/* oklch */ color: oklch(58.0% 0.119 158.4);
Tailwind
colors: {
  custom: {
    50: '#71b18c',
    500: '#288f5f',
    950: '#000000',
  },
}
SCSS
$custom: #288f5f;
$custom-light: #71b18c;
$custom-dark: #000000;
JSON
{
  "hex": "#288f5f",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 95
  },
  "hsl": {
    "h": 152.039,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57955,
    "c": 0.11913,
    "h": 158.4
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#288F5F
secondary
#B85B86
accent
#488FE0
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #288F5F

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

Preview Lab → · Contrast checker → · Palette generator →

#288F5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva