#286F13#286F13

#286F13 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.142 H 139.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#286F13
RGBrgb(40, 111, 19)
HSLhsl(106, 71%, 25%)
HSVhsv(106, 83%, 44%)
CMYKcmyk(64%, 0%, 82.9%, 56.5%)
CIE-LABlab(41.00, -39.40, 41.03)
CIE-LCHlch(41.00, 56.88, 133.84°)
OKLaboklab(47.84% -0.1082 0.0913)
OKLCHoklch(47.84% 0.142 139.9)
XYZxyz(6.6768, 11.8664, 2.5546)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F13 #5A136F
analogous
#566F13 #286F13 #136F2C
triadic
#286F13 #13286F #6F1328
tetradic
#286F13 #13566F #5A136F #6F2C13
square
#286F13 #13566F #5A136F #6F2C13
split-complementary
#286F13 #2C136F #6F1356
monochromatic
#091A04 #153B0A #286F13 #3BA31C #4ED825

Accessibility & contrast

On white

6.23
#286F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#286F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F13
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F13#FFFFFF#000000##FFFFFF
##286F131.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5E1E
Tritanopia (blue-blind)
#1E6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f13;
/* rgb */ color: rgb(40, 111, 19);
/* oklch */ color: oklch(47.8% 0.142 139.9);
Tailwind
colors: {
  custom: {
    50: '#6c9959',
    500: '#286f13',
    950: '#000000',
  },
}
SCSS
$custom: #286f13;
$custom-light: #6c9959;
$custom-dark: #000000;
JSON
{
  "hex": "#286f13",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 106.304,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.14157,
    "h": 139.9
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#286F13
secondary
#8D38A6
accent
#3AEEC5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #286F13

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

Preview Lab → · Contrast checker → · Palette generator →

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