#288A5D#288A5D

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

Color values

HEX#288A5D
RGBrgb(40, 138, 93)
HSLhsl(152, 55%, 35%)
HSVhsv(152, 71%, 54%)
CMYKcmyk(71%, 0%, 32.6%, 45.9%)
CIE-LABlab(51.17, -39.13, 16.15)
CIE-LCHlch(51.17, 42.33, 157.57°)
OKLaboklab(56.55% -0.1064 0.0409)
OKLCHoklch(56.55% 0.114 159)
XYZxyz(11.9382, 19.4171, 13.4725)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A5D #8A2855
analogous
#288A2C #288A5D #28868A
triadic
#288A5D #5D288A #8A5D28
tetradic
#288A5D #2C288A #8A2855 #868A28
square
#288A5D #2C288A #8A2855 #868A28
split-complementary
#288A5D #8A2886 #8A2C28
monochromatic
#0C2B1D #1A5B3D #288A5D #36B97D #5DD09B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288A5D#FFFFFF#000000##000000
##288A5D1.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)
#897F5A
Deuteranopia (green-blind)
#7C7660
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288a5d;
/* rgb */ color: rgb(40, 138, 93);
/* oklch */ color: oklch(56.6% 0.114 159.0);
Tailwind
colors: {
  custom: {
    50: '#6fad8b',
    500: '#288a5d',
    950: '#000000',
  },
}
SCSS
$custom: #288a5d;
$custom-light: #6fad8b;
$custom-dark: #000000;
JSON
{
  "hex": "#288a5d",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 93
  },
  "hsl": {
    "h": 152.449,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56551,
    "c": 0.11403,
    "h": 159
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#288A5D
secondary
#B55983
accent
#498EDE
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #288A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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