#287152#287152

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

Color values

HEX#287152
RGBrgb(40, 113, 82)
HSLhsl(155, 48%, 30%)
HSVhsv(155, 65%, 44%)
CMYKcmyk(64.6%, 0%, 27.4%, 55.7%)
CIE-LABlab(42.57, -30.59, 10.66)
CIE-LCHlch(42.57, 32.39, 160.79°)
OKLaboklab(49.42% -0.084 0.0272)
OKLCHoklch(49.42% 0.088 162.1)
XYZxyz(8.3024, 12.8697, 10.0276)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287152 #712847
analogous
#28712E #287152 #286B71
triadic
#287152 #522871 #715228
tetradic
#287152 #2E2871 #712847 #6B7128
square
#287152 #2E2871 #712847 #6B7128
split-complementary
#287152 #71286B #712E28
monochromatic
#081710 #184431 #287152 #389E73 #52C292

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287152#FFFFFF#000000##FFFFFF
##2871521.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)
#6F6950
Deuteranopia (green-blind)
#656254
Tritanopia (blue-blind)
#007169
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287152;
/* rgb */ color: rgb(40, 113, 82);
/* oklch */ color: oklch(49.4% 0.088 162.1);
Tailwind
colors: {
  custom: {
    50: '#6a9a82',
    500: '#287152',
    950: '#000000',
  },
}
SCSS
$custom: #287152;
$custom-light: #6a9a82;
$custom-dark: #000000;
JSON
{
  "hex": "#287152",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 82
  },
  "hsl": {
    "h": 154.521,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.49415,
    "c": 0.08834,
    "h": 162.1
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#287152
secondary
#A35274
accent
#508AD7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #287152

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

Preview Lab → · Contrast checker → · Palette generator →

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