#287258#287258

#287258 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.9% C 0.085 H 166.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#287258
RGBrgb(40, 114, 88)
HSLhsl(159, 48%, 30%)
HSVhsv(159, 65%, 45%)
CMYKcmyk(64.9%, 0%, 22.8%, 55.3%)
CIE-LABlab(43.05, -29.59, 7.76)
CIE-LCHlch(43.05, 30.59, 165.30°)
OKLaboklab(49.86% -0.0821 0.0199)
OKLCHoklch(49.86% 0.085 166.4)
XYZxyz(8.6529, 13.1894, 11.3204)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287258 #722842
analogous
#287233 #287258 #286772
triadic
#287258 #582872 #725828
tetradic
#287258 #332872 #722842 #677228
square
#287258 #332872 #722842 #677228
split-complementary
#287258 #722867 #723328
monochromatic
#081712 #184535 #287258 #389F7B #52C29B

Accessibility & contrast

On white

5.77
#287258 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#287258 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287258
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287258#FFFFFF#000000##FFFFFF
##2872581.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6A57
Deuteranopia (green-blind)
#65635A
Tritanopia (blue-blind)
#00726B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287258;
/* rgb */ color: rgb(40, 114, 88);
/* oklch */ color: oklch(49.9% 0.085 166.4);
Tailwind
colors: {
  custom: {
    50: '#6b9b87',
    500: '#287258',
    950: '#000000',
  },
}
SCSS
$custom: #287258;
$custom-light: #6b9b87;
$custom-dark: #000000;
JSON
{
  "hex": "#287258",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 88
  },
  "hsl": {
    "h": 158.919,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.0845,
    "h": 166.4
  },
  "luminance": 0.1319
}

Semantic roles & 50–950 ramp

primary
#287258
secondary
#A4526F
accent
#5080D8
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #287258

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

Preview Lab → · Contrast checker → · Palette generator →

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