#286252#286252

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

Color values

HEX#286252
RGBrgb(40, 98, 82)
HSLhsl(163, 42%, 27%)
HSVhsv(163, 59%, 38%)
CMYKcmyk(59.2%, 0%, 16.3%, 61.6%)
CIE-LABlab(37.47, -23.27, 3.44)
CIE-LCHlch(37.47, 23.52, 171.59°)
OKLaboklab(45.26% -0.0659 0.0087)
OKLCHoklch(45.26% 0.067 172.4)
XYZxyz(6.7650, 9.7950, 9.5151)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286252 #622838
analogous
#286235 #286252 #285562
triadic
#286252 #522862 #625228
tetradic
#286252 #352862 #622838 #556228
square
#286252 #352862 #622838 #556228
split-complementary
#286252 #622855 #623528
monochromatic
#091612 #16372E #286252 #3A8D76 #4EB79A

Accessibility & contrast

On white

7.10
#286252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#286252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286252
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286252#FFFFFF#000000##FFFFFF
##2862521.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5C51
Deuteranopia (green-blind)
#565653
Tritanopia (blue-blind)
#07635D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #286252;
/* rgb */ color: rgb(40, 98, 82);
/* oklch */ color: oklch(45.3% 0.067 172.4);
Tailwind
colors: {
  custom: {
    50: '#688f82',
    500: '#286252',
    950: '#000000',
  },
}
SCSS
$custom: #286252;
$custom-light: #688f82;
$custom-dark: #000000;
JSON
{
  "hex": "#286252",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 82
  },
  "hsl": {
    "h": 163.448,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45259,
    "c": 0.0665,
    "h": 172.4
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#286252
secondary
#955164
accent
#5678D2
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#060C0A
muted
#7A7D7C

Preview Lab

Preview with #286252

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

Preview Lab → · Contrast checker → · Palette generator →

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