#286245#286245

#286245 is a dark, moderate teal. Relative luminance 0.096; OKLCH L 44.9% C 0.078 H 159.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#286245
RGBrgb(40, 98, 69)
HSLhsl(150, 42%, 27%)
HSVhsv(150, 59%, 38%)
CMYKcmyk(59.2%, 0%, 29.6%, 61.6%)
CIE-LABlab(37.14, -26.54, 10.93)
CIE-LCHlch(37.14, 28.70, 157.62°)
OKLaboklab(44.88% -0.0727 0.0278)
OKLCHoklch(44.88% 0.078 159.1)
XYZxyz(6.3164, 9.6156, 7.1522)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286245 #622845
analogous
#286228 #286245 #286262
triadic
#286245 #452862 #624528
tetradic
#286245 #282862 #622845 #626228
square
#286245 #282862 #622845 #626228
split-complementary
#286245 #622862 #622828
monochromatic
#09160F #163726 #286245 #3A8D64 #4EB782

Accessibility & contrast

On white

7.18
#286245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#286245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286245
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286245#FFFFFF#000000##FFFFFF
##2862451.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615B43
Deuteranopia (green-blind)
#595547
Tritanopia (blue-blind)
#13615A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286245;
/* rgb */ color: rgb(40, 98, 69);
/* oklch */ color: oklch(44.9% 0.078 159.1);
Tailwind
colors: {
  custom: {
    50: '#688f78',
    500: '#286245',
    950: '#000000',
  },
}
SCSS
$custom: #286245;
$custom-light: #688f78;
$custom-dark: #000000;
JSON
{
  "hex": "#286245",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 69
  },
  "hsl": {
    "h": 150,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44883,
    "c": 0.07786,
    "h": 159.1
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#286245
secondary
#955173
accent
#5694D2
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C09
muted
#7A7D7B

Preview Lab

Preview with #286245

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

Preview Lab → · Contrast checker → · Palette generator →

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