#288F5C#288F5C

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

Color values

HEX#288F5C
RGBrgb(40, 143, 92)
HSLhsl(150, 56%, 36%)
HSVhsv(150, 72%, 56%)
CMYKcmyk(72%, 0%, 35.7%, 43.9%)
CIE-LABlab(52.80, -41.43, 18.93)
CIE-LCHlch(52.80, 45.56, 155.44°)
OKLaboklab(57.89% -0.1123 0.0477)
OKLCHoklch(57.89% 0.122 157)
XYZxyz(12.6281, 20.8673, 13.4854)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F5C #8F285B
analogous
#288F28 #288F5C #288E8F
triadic
#288F5C #5C288F #8F5C28
tetradic
#288F5C #28288F #8F285B #8E8F28
square
#288F5C #28288F #8F285B #8E8F28
split-complementary
#288F5C #8F288E #8F2828
monochromatic
#0D2F1E #1B5F3D #288F5C #35BF7B #5FD299

Accessibility & contrast

On white

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

On black

5.17
#288F5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F5C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F5C#FFFFFF#000000##000000
##288F5C1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288f5c;
/* rgb */ color: rgb(40, 143, 92);
/* oklch */ color: oklch(57.9% 0.122 157.0);
Tailwind
colors: {
  custom: {
    50: '#70b18a',
    500: '#288f5c',
    950: '#000000',
  },
}
SCSS
$custom: #288f5c;
$custom-light: #70b18a;
$custom-dark: #000000;
JSON
{
  "hex": "#288f5c",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 92
  },
  "hsl": {
    "h": 150.291,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.12196,
    "h": 157
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#288F5C
secondary
#B85B89
accent
#4893E0
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #288F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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