#288158#288158

#288158 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.0% C 0.106 H 159.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#288158
RGBrgb(40, 129, 88)
HSLhsl(152, 53%, 33%)
HSVhsv(152, 69%, 51%)
CMYKcmyk(69%, 0%, 31.8%, 49.4%)
CIE-LABlab(48.08, -36.39, 14.77)
CIE-LCHlch(48.08, 39.27, 157.91°)
OKLaboklab(53.97% -0.0992 0.0374)
OKLCHoklch(53.97% 0.106 159.3)
XYZxyz(10.4858, 16.8551, 11.9314)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288158 #812851
analogous
#28812C #288158 #287D81
triadic
#288158 #582881 #815828
tetradic
#288158 #2C2881 #812851 #7D8128
square
#288158 #2C2881 #812851 #7D8128
split-complementary
#288158 #81287D #812C28
monochromatic
#0B2418 #1A5238 #288158 #36B078 #58CB96

Accessibility & contrast

On white

4.80
#288158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#288158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288158
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288158#FFFFFF#000000##FFFFFF
##2881581.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807756
Deuteranopia (green-blind)
#746F5B
Tritanopia (blue-blind)
#008076
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288158;
/* rgb */ color: rgb(40, 129, 88);
/* oklch */ color: oklch(54.0% 0.106 159.3);
Tailwind
colors: {
  custom: {
    50: '#6ea687',
    500: '#288158',
    950: '#000000',
  },
}
SCSS
$custom: #288158;
$custom-light: #6ea687;
$custom-dark: #000000;
JSON
{
  "hex": "#288158",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 88
  },
  "hsl": {
    "h": 152.36,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53975,
    "c": 0.10599,
    "h": 159.3
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#288158
secondary
#B0547F
accent
#4C8EDC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #288158

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

Preview Lab → · Contrast checker → · Palette generator →

#288158 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva