#286142#286142

#286142 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.5% C 0.079 H 157.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#286142
RGBrgb(40, 97, 66)
HSLhsl(147, 42%, 27%)
HSVhsv(147, 59%, 38%)
CMYKcmyk(58.8%, 0%, 32%, 62%)
CIE-LABlab(36.73, -26.75, 12.18)
CIE-LCHlch(36.73, 29.39, 155.51°)
OKLaboklab(44.52% -0.073 0.0309)
OKLCHoklch(44.52% 0.079 157.1)
XYZxyz(6.1326, 9.3933, 6.6431)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286142 #612847
analogous
#2B6128 #286142 #28615F
triadic
#286142 #422861 #614228
tetradic
#286142 #282B61 #612847 #615F28
square
#286142 #282B61 #612847 #615F28
split-complementary
#286142 #5F2861 #61282B
monochromatic
#09160F #163625 #286142 #3A8C5F #4EB67D

Accessibility & contrast

On white

7.29
#286142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#286142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286142
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286142#FFFFFF#000000##FFFFFF
##2861421.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A40
Deuteranopia (green-blind)
#585444
Tritanopia (blue-blind)
#156059
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286142;
/* rgb */ color: rgb(40, 97, 66);
/* oklch */ color: oklch(44.5% 0.079 157.1);
Tailwind
colors: {
  custom: {
    50: '#678e76',
    500: '#286142',
    950: '#000000',
  },
}
SCSS
$custom: #286142;
$custom-light: #678e76;
$custom-dark: #000000;
JSON
{
  "hex": "#286142",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 66
  },
  "hsl": {
    "h": 147.368,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44524,
    "c": 0.0793,
    "h": 157.1
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#286142
secondary
#945175
accent
#5699D1
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #286142

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

Preview Lab → · Contrast checker → · Palette generator →

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