#286F39#286F39

#286F39 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.3% C 0.111 H 148.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#286F39
RGBrgb(40, 111, 57)
HSLhsl(134, 47%, 30%)
HSVhsv(134, 64%, 44%)
CMYKcmyk(64%, 0%, 48.6%, 56.5%)
CIE-LABlab(41.40, -34.89, 23.61)
CIE-LCHlch(41.40, 42.13, 145.92°)
OKLaboklab(48.3% -0.0943 0.0577)
OKLCHoklch(48.3% 0.111 148.5)
XYZxyz(7.2975, 12.1147, 5.8239)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F39 #6F285E
analogous
#3B6F28 #286F39 #286F5D
triadic
#286F39 #39286F #6F3928
tetradic
#286F39 #283B6F #6F285E #6F5D28
square
#286F39 #283B6F #6F285E #6F5D28
split-complementary
#286F39 #5D286F #6F283B
monochromatic
#08160C #184222 #286F39 #389C50 #51C06C

Accessibility & contrast

On white

6.13
#286F39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#286F39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F39
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F39#FFFFFF#000000##FFFFFF
##286F391.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706535
Deuteranopia (green-blind)
#675F3D
Tritanopia (blue-blind)
#146D62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286f39;
/* rgb */ color: rgb(40, 111, 57);
/* oklch */ color: oklch(48.3% 0.111 148.5);
Tailwind
colors: {
  custom: {
    50: '#6a9970',
    500: '#286f39',
    950: '#000000',
  },
}
SCSS
$custom: #286f39;
$custom-light: #6a9970;
$custom-dark: #000000;
JSON
{
  "hex": "#286f39",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 57
  },
  "hsl": {
    "h": 134.366,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48296,
    "c": 0.11055,
    "h": 148.5
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#286F39
secondary
#A1518E
accent
#51B7D7
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #286F39

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

Preview Lab → · Contrast checker → · Palette generator →

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