#287259#287259

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

Color values

HEX#287259
RGBrgb(40, 114, 89)
HSLhsl(160, 48%, 30%)
HSVhsv(160, 65%, 45%)
CMYKcmyk(64.9%, 0%, 21.9%, 55.3%)
CIE-LABlab(43.07, -29.33, 7.20)
CIE-LCHlch(43.07, 30.20, 166.21°)
OKLaboklab(49.88% -0.0816 0.0184)
OKLCHoklch(49.88% 0.084 167.3)
XYZxyz(8.6947, 13.2061, 11.5401)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287259 #722841
analogous
#287234 #287259 #286672
triadic
#287259 #592872 #725928
tetradic
#287259 #342872 #722841 #667228
square
#287259 #342872 #722841 #667228
split-complementary
#287259 #722866 #723428
monochromatic
#081712 #184536 #287259 #389F7C #52C29C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287259#FFFFFF#000000##FFFFFF
##2872591.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)
#6F6A58
Deuteranopia (green-blind)
#65635B
Tritanopia (blue-blind)
#00726B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287259;
/* rgb */ color: rgb(40, 114, 89);
/* oklch */ color: oklch(49.9% 0.084 167.3);
Tailwind
colors: {
  custom: {
    50: '#6b9b87',
    500: '#287259',
    950: '#000000',
  },
}
SCSS
$custom: #287259;
$custom-light: #6b9b87;
$custom-dark: #000000;
JSON
{
  "hex": "#287259",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 89
  },
  "hsl": {
    "h": 159.73,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49884,
    "c": 0.08367,
    "h": 167.3
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#287259
secondary
#A4526D
accent
#507ED8
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #287259

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

Preview Lab → · Contrast checker → · Palette generator →

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