#288A5C#288A5C

#288A5C is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.5% C 0.115 H 158.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288A5C
RGBrgb(40, 138, 92)
HSLhsl(152, 55%, 35%)
HSVhsv(152, 71%, 54%)
CMYKcmyk(71%, 0%, 33.3%, 45.9%)
CIE-LABlab(51.15, -39.35, 16.69)
CIE-LCHlch(51.15, 42.75, 157.02°)
OKLaboklab(56.53% -0.1069 0.0422)
OKLCHoklch(56.53% 0.115 158.5)
XYZxyz(11.8942, 19.3995, 13.2408)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A5C #8A2856
analogous
#288A2B #288A5C #28878A
triadic
#288A5C #5C288A #8A5C28
tetradic
#288A5C #2B288A #8A2856 #878A28
square
#288A5C #2B288A #8A2856 #878A28
split-complementary
#288A5C #8A2887 #8A2B28
monochromatic
#0C2B1D #1A5B3C #288A5C #36B97C #5DD09A

Accessibility & contrast

On white

4.30
#288A5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#288A5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A5C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A5C#FFFFFF#000000##000000
##288A5C1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F59
Deuteranopia (green-blind)
#7C765F
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288a5c;
/* rgb */ color: rgb(40, 138, 92);
/* oklch */ color: oklch(56.5% 0.115 158.5);
Tailwind
colors: {
  custom: {
    50: '#6fad8a',
    500: '#288a5c',
    950: '#000000',
  },
}
SCSS
$custom: #288a5c;
$custom-light: #6fad8a;
$custom-dark: #000000;
JSON
{
  "hex": "#288a5c",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 92
  },
  "hsl": {
    "h": 151.837,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56528,
    "c": 0.11497,
    "h": 158.5
  },
  "luminance": 0.19401
}

Semantic roles & 50–950 ramp

primary
#288A5C
secondary
#B55984
accent
#498FDE
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #288A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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