#286254#286254

#286254 is a mid, moderate teal. Relative luminance 0.098; OKLCH L 45.3% C 0.065 H 175.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#286254
RGBrgb(40, 98, 84)
HSLhsl(166, 42%, 27%)
HSVhsv(166, 59%, 38%)
CMYKcmyk(59.2%, 0%, 14.3%, 61.6%)
CIE-LABlab(37.53, -22.73, 2.29)
CIE-LCHlch(37.53, 22.84, 174.25°)
OKLaboklab(45.32% -0.0649 0.0057)
OKLCHoklch(45.32% 0.065 175)
XYZxyz(6.8423, 9.8259, 9.9218)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286254 #622836
analogous
#286237 #286254 #285362
triadic
#286254 #542862 #625428
tetradic
#286254 #372862 #622836 #536228
square
#286254 #372862 #622836 #536228
split-complementary
#286254 #622853 #623728
monochromatic
#091613 #16372F #286254 #3A8D79 #4EB79D

Accessibility & contrast

On white

7.08
#286254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#286254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286254
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286254#FFFFFF#000000##FFFFFF
##2862541.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5C53
Deuteranopia (green-blind)
#565655
Tritanopia (blue-blind)
#05635E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #286254;
/* rgb */ color: rgb(40, 98, 84);
/* oklch */ color: oklch(45.3% 0.065 175.0);
Tailwind
colors: {
  custom: {
    50: '#688f84',
    500: '#286254',
    950: '#000000',
  },
}
SCSS
$custom: #286254;
$custom-light: #688f84;
$custom-dark: #000000;
JSON
{
  "hex": "#286254",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 84
  },
  "hsl": {
    "h": 165.517,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.06514,
    "h": 175
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#286254
secondary
#955161
accent
#5674D2
background
#F6F8F8
surface
#EBF0EF
border
#C6CBCA
text
#060C0A
muted
#7A7D7C

Preview Lab

Preview with #286254

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

Preview Lab → · Contrast checker → · Palette generator →

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