#286F1D#286F1D

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

Color values

HEX#286F1D
RGBrgb(40, 111, 29)
HSLhsl(112, 59%, 27%)
HSVhsv(112, 74%, 44%)
CMYKcmyk(64%, 0%, 73.9%, 56.5%)
CIE-LABlab(41.07, -38.62, 37.30)
CIE-LCHlch(41.07, 53.69, 135.99°)
OKLaboklab(47.92% -0.1055 0.085)
OKLCHoklch(47.92% 0.135 141.2)
XYZxyz(6.7809, 11.9081, 3.1033)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F1D #641D6F
analogous
#516F1D #286F1D #1D6F3B
triadic
#286F1D #1D286F #6F1D28
tetradic
#286F1D #1D516F #641D6F #6F3B1D
square
#286F1D #1D516F #641D6F #6F3B1D
split-complementary
#286F1D #3B1D6F #6F1D51
monochromatic
#091806 #173E10 #286F1D #39A02A #4ECC3B

Accessibility & contrast

On white

6.21
#286F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286F1D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F1D#FFFFFF#000000##FFFFFF
##286F1D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726410
Deuteranopia (green-blind)
#695F25
Tritanopia (blue-blind)
#1D6B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f1d;
/* rgb */ color: rgb(40, 111, 29);
/* oklch */ color: oklch(47.9% 0.135 141.2);
Tailwind
colors: {
  custom: {
    50: '#6c995e',
    500: '#286f1d',
    950: '#000000',
  },
}
SCSS
$custom: #286f1d;
$custom-light: #6c995e;
$custom-dark: #000000;
JSON
{
  "hex": "#286f1d",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 111.951,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4792,
    "c": 0.13549,
    "h": 141.2
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#286F1D
secondary
#9744A3
accent
#46E2CD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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