#287154#287154

#287154 is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.5% C 0.087 H 163.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#287154
RGBrgb(40, 113, 84)
HSLhsl(156, 48%, 30%)
HSVhsv(156, 65%, 44%)
CMYKcmyk(64.6%, 0%, 25.7%, 55.7%)
CIE-LABlab(42.61, -30.11, 9.53)
CIE-LCHlch(42.61, 31.58, 162.43°)
OKLaboklab(49.47% -0.083 0.0244)
OKLCHoklch(49.47% 0.087 163.6)
XYZxyz(8.3796, 12.9006, 10.4342)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287154 #712845
analogous
#28712F #287154 #286A71
triadic
#287154 #542871 #715428
tetradic
#287154 #2F2871 #712845 #6A7128
square
#287154 #2F2871 #712845 #6A7128
split-complementary
#287154 #71286A #712F28
monochromatic
#081711 #184432 #287154 #389E76 #52C295

Accessibility & contrast

On white

5.87
#287154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#287154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287154
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287154#FFFFFF#000000##FFFFFF
##2871541.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6952
Deuteranopia (green-blind)
#656256
Tritanopia (blue-blind)
#007169
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287154;
/* rgb */ color: rgb(40, 113, 84);
/* oklch */ color: oklch(49.5% 0.087 163.6);
Tailwind
colors: {
  custom: {
    50: '#6a9a84',
    500: '#287154',
    950: '#000000',
  },
}
SCSS
$custom: #287154;
$custom-light: #6a9a84;
$custom-dark: #000000;
JSON
{
  "hex": "#287154",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 84
  },
  "hsl": {
    "h": 156.164,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.08652,
    "h": 163.6
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

primary
#287154
secondary
#A35272
accent
#5086D7
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #287154

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

Preview Lab → · Contrast checker → · Palette generator →

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