#286F1A#286F1A

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

Color values

HEX#286F1A
RGBrgb(40, 111, 26)
HSLhsl(110, 62%, 27%)
HSVhsv(110, 77%, 44%)
CMYKcmyk(64%, 0%, 76.6%, 56.5%)
CIE-LABlab(41.05, -38.88, 38.51)
CIE-LCHlch(41.05, 54.72, 135.27°)
OKLaboklab(47.89% -0.1064 0.0871)
OKLCHoklch(47.89% 0.138 140.7)
XYZxyz(6.7456, 11.8939, 2.9174)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F1A #611A6F
analogous
#536F1A #286F1A #1A6F37
triadic
#286F1A #1A286F #6F1A28
tetradic
#286F1A #1A536F #611A6F #6F371A
square
#286F1A #1A536F #611A6F #6F371A
split-complementary
#286F1A #371A6F #6F1A53
monochromatic
#091906 #163D0E #286F1A #3AA126 #4ECF34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286F1A#FFFFFF#000000##FFFFFF
##286F1A1.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)
#72640A
Deuteranopia (green-blind)
#695F23
Tritanopia (blue-blind)
#1D6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f1a;
/* rgb */ color: rgb(40, 111, 26);
/* oklch */ color: oklch(47.9% 0.138 140.7);
Tailwind
colors: {
  custom: {
    50: '#6c995d',
    500: '#286f1a',
    950: '#000000',
  },
}
SCSS
$custom: #286f1a;
$custom-light: #6c995d;
$custom-dark: #000000;
JSON
{
  "hex": "#286f1a",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 110.118,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47894,
    "c": 0.13751,
    "h": 140.7
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#286F1A
secondary
#9441A4
accent
#43E5CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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