#287255#287255

#287255 is a mid, moderate teal. Relative luminance 0.131; OKLCH L 49.8% C 0.087 H 163.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#287255
RGBrgb(40, 114, 85)
HSLhsl(156, 48%, 30%)
HSVhsv(156, 65%, 45%)
CMYKcmyk(64.9%, 0%, 25.4%, 55.3%)
CIE-LABlab(42.97, -30.33, 9.45)
CIE-LCHlch(42.97, 31.77, 162.70°)
OKLaboklab(49.77% -0.0837 0.0242)
OKLCHoklch(49.77% 0.087 163.9)
XYZxyz(8.5312, 13.1407, 10.6794)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287255 #722845
analogous
#287230 #287255 #286A72
triadic
#287255 #552872 #725528
tetradic
#287255 #302872 #722845 #6A7228
square
#287255 #302872 #722845 #6A7228
split-complementary
#287255 #72286A #723028
monochromatic
#081711 #184533 #287255 #389F77 #52C296

Accessibility & contrast

On white

5.79
#287255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#287255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287255
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287255#FFFFFF#000000##FFFFFF
##2872551.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706A53
Deuteranopia (green-blind)
#666257
Tritanopia (blue-blind)
#00726A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287255;
/* rgb */ color: rgb(40, 114, 85);
/* oklch */ color: oklch(49.8% 0.087 163.9);
Tailwind
colors: {
  custom: {
    50: '#6b9b85',
    500: '#287255',
    950: '#000000',
  },
}
SCSS
$custom: #287255;
$custom-light: #6b9b85;
$custom-dark: #000000;
JSON
{
  "hex": "#287255",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 85
  },
  "hsl": {
    "h": 156.486,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49772,
    "c": 0.08709,
    "h": 163.9
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#287255
secondary
#A45272
accent
#5085D8
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #287255

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

Preview Lab → · Contrast checker → · Palette generator →

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