#287C62#287C62

#287C62 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.9% C 0.090 H 168.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#287C62
RGBrgb(40, 124, 98)
HSLhsl(161, 51%, 32%)
HSVhsv(161, 68%, 49%)
CMYKcmyk(67.7%, 0%, 21%, 51.4%)
CIE-LABlab(46.64, -31.73, 6.94)
CIE-LCHlch(46.64, 32.48, 167.67°)
OKLaboklab(52.87% -0.0885 0.0177)
OKLCHoklch(52.87% 0.09 168.7)
XYZxyz(10.2862, 15.7471, 14.0503)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C62 #7C2842
analogous
#287C38 #287C62 #286C7C
triadic
#287C62 #62287C #7C6228
tetradic
#287C62 #38287C #7C2842 #6C7C28
square
#287C62 #38287C #7C2842 #6C7C28
split-complementary
#287C62 #7C286C #7C3828
monochromatic
#0A1F19 #194E3D #287C62 #37AA87 #56C8A5

Accessibility & contrast

On white

5.06
#287C62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#287C62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C62
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C62#FFFFFF#000000##FFFFFF
##287C621.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797361
Deuteranopia (green-blind)
#6D6B64
Tritanopia (blue-blind)
#007D75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287c62;
/* rgb */ color: rgb(40, 124, 98);
/* oklch */ color: oklch(52.9% 0.090 168.7);
Tailwind
colors: {
  custom: {
    50: '#6da28e',
    500: '#287c62',
    950: '#000000',
  },
}
SCSS
$custom: #287c62;
$custom-light: #6da28e;
$custom-dark: #000000;
JSON
{
  "hex": "#287c62",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 98
  },
  "hsl": {
    "h": 161.429,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.09026,
    "h": 168.7
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#287C62
secondary
#AD526F
accent
#4D79DB
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #287C62

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

Preview Lab → · Contrast checker → · Palette generator →

#287C62 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva