#287952#287952

#287952 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.6% C 0.100 H 158.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#287952
RGBrgb(40, 121, 82)
HSLhsl(151, 50%, 32%)
HSVhsv(151, 67%, 47%)
CMYKcmyk(66.9%, 0%, 32.2%, 52.5%)
CIE-LABlab(45.27, -34.23, 14.39)
CIE-LCHlch(45.27, 37.13, 157.19°)
OKLaboklab(51.63% -0.0932 0.0365)
OKLCHoklch(51.63% 0.1 158.6)
XYZxyz(9.2346, 14.7341, 10.3383)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287952 #79284F
analogous
#287929 #287952 #287879
triadic
#287952 #522879 #795228
tetradic
#287952 #292879 #79284F #787928
square
#287952 #292879 #79284F #787928
split-complementary
#287952 #792878 #792928
monochromatic
#0A1D14 #194B33 #287952 #37A771 #55C790

Accessibility & contrast

On white

5.32
#287952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#287952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287952
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287952#FFFFFF#000000##FFFFFF
##2879521.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787050
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#00786F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #287952;
/* rgb */ color: rgb(40, 121, 82);
/* oklch */ color: oklch(51.6% 0.100 158.6);
Tailwind
colors: {
  custom: {
    50: '#6ca082',
    500: '#287952',
    950: '#000000',
  },
}
SCSS
$custom: #287952;
$custom-light: #6ca082;
$custom-dark: #000000;
JSON
{
  "hex": "#287952",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 82
  },
  "hsl": {
    "h": 151.111,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.10012,
    "h": 158.6
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#287952
secondary
#AB527D
accent
#4E91DA
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #287952

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

Preview Lab → · Contrast checker → · Palette generator →

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