#286F4B#286F4B

#286F4B is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.7% C 0.092 H 157.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#286F4B
RGBrgb(40, 111, 75)
HSLhsl(150, 47%, 30%)
HSVhsv(150, 64%, 44%)
CMYKcmyk(64%, 0%, 32.4%, 56.5%)
CIE-LABlab(41.73, -31.29, 13.65)
CIE-LCHlch(41.73, 34.14, 156.43°)
OKLaboklab(48.68% -0.0853 0.0346)
OKLCHoklch(48.68% 0.092 157.9)
XYZxyz(7.8288, 12.3272, 8.6221)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F4B #6F284C
analogous
#296F28 #286F4B #286F6F
triadic
#286F4B #4B286F #6F4B28
tetradic
#286F4B #28296F #6F284C #6F6F28
square
#286F4B #28296F #6F284C #6F6F28
split-complementary
#286F4B #6F286F #6F2829
monochromatic
#08160F #18422D #286F4B #389C69 #51C088

Accessibility & contrast

On white

6.06
#286F4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#286F4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F4B
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F4B#FFFFFF#000000##FFFFFF
##286F4B1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6749
Deuteranopia (green-blind)
#64604D
Tritanopia (blue-blind)
#066E65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286f4b;
/* rgb */ color: rgb(40, 111, 75);
/* oklch */ color: oklch(48.7% 0.092 157.9);
Tailwind
colors: {
  custom: {
    50: '#6a997d',
    500: '#286f4b',
    950: '#000000',
  },
}
SCSS
$custom: #286f4b;
$custom-light: #6a997d;
$custom-dark: #000000;
JSON
{
  "hex": "#286f4b",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 75
  },
  "hsl": {
    "h": 149.577,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.09206,
    "h": 157.9
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

primary
#286F4B
secondary
#A1517A
accent
#5195D7
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #286F4B

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

Preview Lab → · Contrast checker → · Palette generator →

#286F4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva