#286F4A#286F4A

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

Color values

HEX#286F4A
RGBrgb(40, 111, 74)
HSLhsl(149, 47%, 30%)
HSVhsv(149, 64%, 44%)
CMYKcmyk(64%, 0%, 33.3%, 56.5%)
CIE-LABlab(41.71, -31.52, 14.21)
CIE-LCHlch(41.71, 34.57, 155.72°)
OKLaboklab(48.66% -0.0858 0.036)
OKLCHoklch(48.66% 0.093 157.3)
XYZxyz(7.7949, 12.3136, 8.4432)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F4A #6F284D
analogous
#2A6F28 #286F4A #286F6E
triadic
#286F4A #4A286F #6F4A28
tetradic
#286F4A #282A6F #6F284D #6F6E28
square
#286F4A #282A6F #6F284D #6F6E28
split-complementary
#286F4A #6E286F #6F282A
monochromatic
#08160F #18422C #286F4A #389C68 #51C086

Accessibility & contrast

On white

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

On black

3.46
#286F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##286F4A#FFFFFF#000000##FFFFFF
##286F4A1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6648
Deuteranopia (green-blind)
#65604C
Tritanopia (blue-blind)
#076E65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286f4a;
/* rgb */ color: rgb(40, 111, 74);
/* oklch */ color: oklch(48.7% 0.093 157.3);
Tailwind
colors: {
  custom: {
    50: '#6a997c',
    500: '#286f4a',
    950: '#000000',
  },
}
SCSS
$custom: #286f4a;
$custom-light: #6a997c;
$custom-dark: #000000;
JSON
{
  "hex": "#286f4a",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 74
  },
  "hsl": {
    "h": 148.732,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48655,
    "c": 0.09305,
    "h": 157.3
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#286F4A
secondary
#A1517B
accent
#5197D7
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #286F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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