#288F5D#288F5D

#288F5D is a mid, vivid teal. Relative luminance 0.209; OKLCH L 57.9% C 0.121 H 157.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#288F5D
RGBrgb(40, 143, 93)
HSLhsl(151, 56%, 36%)
HSVhsv(151, 72%, 56%)
CMYKcmyk(72%, 0%, 35%, 43.9%)
CIE-LABlab(52.82, -41.22, 18.40)
CIE-LCHlch(52.82, 45.14, 155.95°)
OKLaboklab(57.91% -0.1118 0.0464)
OKLCHoklch(57.91% 0.121 157.5)
XYZxyz(12.6721, 20.8849, 13.7171)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F5D #8F285A
analogous
#288F2A #288F5D #288D8F
triadic
#288F5D #5D288F #8F5D28
tetradic
#288F5D #2A288F #8F285A #8D8F28
square
#288F5D #2A288F #8F285A #8D8F28
split-complementary
#288F5D #8F288D #8F2A28
monochromatic
#0D2F1F #1B5F3E #288F5D #35BF7C #5FD29A

Accessibility & contrast

On white

4.06
#288F5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F5D#FFFFFF#000000##000000
##288F5D1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288f5d;
/* rgb */ color: rgb(40, 143, 93);
/* oklch */ color: oklch(57.9% 0.121 157.5);
Tailwind
colors: {
  custom: {
    50: '#70b18b',
    500: '#288f5d',
    950: '#000000',
  },
}
SCSS
$custom: #288f5d;
$custom-light: #70b18b;
$custom-dark: #000000;
JSON
{
  "hex": "#288f5d",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 93
  },
  "hsl": {
    "h": 150.874,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.12102,
    "h": 157.5
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#288F5D
secondary
#B85B88
accent
#4892E0
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #288F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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