#286F17#286F17

#286F17 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.139 H 140.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#286F17
RGBrgb(40, 111, 23)
HSLhsl(108, 66%, 26%)
HSVhsv(108, 79%, 44%)
CMYKcmyk(64%, 0%, 79.3%, 56.5%)
CIE-LABlab(41.03, -39.12, 39.64)
CIE-LCHlch(41.03, 55.69, 134.62°)
OKLaboklab(47.87% -0.1072 0.089)
OKLCHoklch(47.87% 0.139 140.3)
XYZxyz(6.7139, 11.8812, 2.7499)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F17 #5E176F
analogous
#546F17 #286F17 #176F32
triadic
#286F17 #17286F #6F1728
tetradic
#286F17 #17546F #5E176F #6F3217
square
#286F17 #17546F #5E176F #6F3217
split-complementary
#286F17 #32176F #6F1754
monochromatic
#091905 #163C0C #286F17 #3AA222 #4DD32D

Accessibility & contrast

On white

6.22
#286F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#286F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F17
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F17#FFFFFF#000000##FFFFFF
##286F171.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#695F21
Tritanopia (blue-blind)
#1E6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f17;
/* rgb */ color: rgb(40, 111, 23);
/* oklch */ color: oklch(47.9% 0.139 140.3);
Tailwind
colors: {
  custom: {
    50: '#6c995b',
    500: '#286f17',
    950: '#000000',
  },
}
SCSS
$custom: #286f17;
$custom-light: #6c995b;
$custom-dark: #000000;
JSON
{
  "hex": "#286f17",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 108.409,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4787,
    "c": 0.13936,
    "h": 140.3
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#286F17
secondary
#913DA5
accent
#3FE9C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286F17

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

Preview Lab → · Contrast checker → · Palette generator →

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