#287151#287151

#287151 is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.4% C 0.089 H 161.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#287151
RGBrgb(40, 113, 81)
HSLhsl(154, 48%, 30%)
HSVhsv(154, 65%, 44%)
CMYKcmyk(64.6%, 0%, 28.3%, 55.7%)
CIE-LABlab(42.54, -30.83, 11.22)
CIE-LCHlch(42.54, 32.81, 160.00°)
OKLaboklab(49.39% -0.0846 0.0286)
OKLCHoklch(49.39% 0.089 161.3)
XYZxyz(8.2646, 12.8546, 9.8286)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287151 #712848
analogous
#28712D #287151 #286C71
triadic
#287151 #512871 #715128
tetradic
#287151 #2D2871 #712848 #6C7128
square
#287151 #2D2871 #712848 #6C7128
split-complementary
#287151 #71286C #712D28
monochromatic
#081710 #184431 #287151 #389E71 #52C291

Accessibility & contrast

On white

5.88
#287151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#287151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287151
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287151#FFFFFF#000000##FFFFFF
##2871511.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F694F
Deuteranopia (green-blind)
#656253
Tritanopia (blue-blind)
#007168
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287151;
/* rgb */ color: rgb(40, 113, 81);
/* oklch */ color: oklch(49.4% 0.089 161.3);
Tailwind
colors: {
  custom: {
    50: '#6a9a82',
    500: '#287151',
    950: '#000000',
  },
}
SCSS
$custom: #287151;
$custom-light: #6a9a82;
$custom-dark: #000000;
JSON
{
  "hex": "#287151",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 153.699,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.49388,
    "c": 0.08927,
    "h": 161.3
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#287151
secondary
#A35275
accent
#508CD7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #287151

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

Preview Lab → · Contrast checker → · Palette generator →

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