#286F18#286F18

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

Color values

HEX#286F18
RGBrgb(40, 111, 24)
HSLhsl(109, 64%, 26%)
HSVhsv(109, 78%, 44%)
CMYKcmyk(64%, 0%, 78.4%, 56.5%)
CIE-LABlab(41.03, -39.04, 39.27)
CIE-LCHlch(41.03, 55.38, 134.83°)
OKLaboklab(47.88% -0.107 0.0884)
OKLCHoklch(47.88% 0.139 140.4)
XYZxyz(6.7241, 11.8853, 2.8037)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F18 #5F186F
analogous
#546F18 #286F18 #186F34
triadic
#286F18 #18286F #6F1828
tetradic
#286F18 #18546F #5F186F #6F3418
square
#286F18 #18546F #5F186F #6F3418
split-complementary
#286F18 #34186F #6F1854
monochromatic
#091905 #163D0D #286F18 #3AA123 #4DD22F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286F18#FFFFFF#000000##FFFFFF
##286F181.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)
#726406
Deuteranopia (green-blind)
#695F21
Tritanopia (blue-blind)
#1E6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f18;
/* rgb */ color: rgb(40, 111, 24);
/* oklch */ color: oklch(47.9% 0.139 140.4);
Tailwind
colors: {
  custom: {
    50: '#6c995c',
    500: '#286f18',
    950: '#000000',
  },
}
SCSS
$custom: #286f18;
$custom-light: #6c995c;
$custom-dark: #000000;
JSON
{
  "hex": "#286f18",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 108.966,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47878,
    "c": 0.13876,
    "h": 140.4
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#286F18
secondary
#923EA5
accent
#40E7C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286F18

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

Preview Lab → · Contrast checker → · Palette generator →

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