#286F19#286F19

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

Color values

HEX#286F19
RGBrgb(40, 111, 25)
HSLhsl(110, 63%, 27%)
HSVhsv(110, 77%, 44%)
CMYKcmyk(64%, 0%, 77.5%, 56.5%)
CIE-LABlab(41.04, -38.96, 38.90)
CIE-LCHlch(41.04, 55.05, 135.05°)
OKLaboklab(47.89% -0.1067 0.0877)
OKLCHoklch(47.89% 0.138 140.6)
XYZxyz(6.7347, 11.8896, 2.8595)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F19 #60196F
analogous
#536F19 #286F19 #196F35
triadic
#286F19 #19286F #6F1928
tetradic
#286F19 #19536F #60196F #6F3519
square
#286F19 #19536F #60196F #6F3519
split-complementary
#286F19 #35196F #6F1953
monochromatic
#091906 #163D0E #286F19 #3AA124 #4DD132

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286F19#FFFFFF#000000##FFFFFF
##286F191.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)
#726408
Deuteranopia (green-blind)
#695F22
Tritanopia (blue-blind)
#1E6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f19;
/* rgb */ color: rgb(40, 111, 25);
/* oklch */ color: oklch(47.9% 0.138 140.6);
Tailwind
colors: {
  custom: {
    50: '#6c995c',
    500: '#286f19',
    950: '#000000',
  },
}
SCSS
$custom: #286f19;
$custom-light: #6c995c;
$custom-dark: #000000;
JSON
{
  "hex": "#286f19",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 109.535,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47886,
    "c": 0.13814,
    "h": 140.6
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#286F19
secondary
#933FA4
accent
#42E6CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286F19

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

Preview Lab → · Contrast checker → · Palette generator →

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