#287256#287256

#287256 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.8% C 0.086 H 164.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#287256
RGBrgb(40, 114, 86)
HSLhsl(157, 48%, 30%)
HSVhsv(157, 65%, 45%)
CMYKcmyk(64.9%, 0%, 24.6%, 55.3%)
CIE-LABlab(43.00, -30.09, 8.88)
CIE-LCHlch(43.00, 31.37, 163.55°)
OKLaboklab(49.8% -0.0832 0.0227)
OKLCHoklch(49.8% 0.086 164.7)
XYZxyz(8.5712, 13.1567, 10.8901)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287256 #722844
analogous
#287231 #287256 #286972
triadic
#287256 #562872 #725628
tetradic
#287256 #312872 #722844 #697228
square
#287256 #312872 #722844 #697228
split-complementary
#287256 #722869 #723128
monochromatic
#081712 #184534 #287256 #389F78 #52C298

Accessibility & contrast

On white

5.78
#287256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#287256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287256
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287256#FFFFFF#000000##FFFFFF
##2872561.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706A54
Deuteranopia (green-blind)
#656358
Tritanopia (blue-blind)
#00726A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287256;
/* rgb */ color: rgb(40, 114, 86);
/* oklch */ color: oklch(49.8% 0.086 164.7);
Tailwind
colors: {
  custom: {
    50: '#6b9b85',
    500: '#287256',
    950: '#000000',
  },
}
SCSS
$custom: #287256;
$custom-light: #6b9b85;
$custom-dark: #000000;
JSON
{
  "hex": "#287256",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 86
  },
  "hsl": {
    "h": 157.297,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.08621,
    "h": 164.7
  },
  "luminance": 0.13158
}

Semantic roles & 50–950 ramp

primary
#287256
secondary
#A45271
accent
#5083D8
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #287256

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

Preview Lab → · Contrast checker → · Palette generator →

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