#286A1A#286A1A

#286A1A is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.131 H 140.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#286A1A
RGBrgb(40, 106, 26)
HSLhsl(110, 61%, 26%)
HSVhsv(110, 75%, 42%)
CMYKcmyk(62.3%, 0%, 75.5%, 58.4%)
CIE-LABlab(39.30, -36.91, 36.73)
CIE-LCHlch(39.30, 52.07, 135.14°)
OKLaboklab(46.45% -0.1011 0.0833)
OKLCHoklch(46.45% 0.131 140.5)
XYZxyz(6.2153, 10.8332, 2.7406)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A1A #5C1A6A
analogous
#506A1A #286A1A #1A6A34
triadic
#286A1A #1A286A #6A1A28
tetradic
#286A1A #1A506A #5C1A6A #6A341A
square
#286A1A #1A506A #5C1A6A #6A341A
split-complementary
#286A1A #341A6A #6A1A50
monochromatic
#091906 #15390E #286A1A #3B9B26 #4DCC32

Accessibility & contrast

On white

6.63
#286A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#286A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A1A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A1A#FFFFFF#000000##FFFFFF
##286A1A1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600D
Deuteranopia (green-blind)
#655A22
Tritanopia (blue-blind)
#1F665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a1a;
/* rgb */ color: rgb(40, 106, 26);
/* oklch */ color: oklch(46.4% 0.131 140.5);
Tailwind
colors: {
  custom: {
    50: '#6b955c',
    500: '#286a1a',
    950: '#000000',
  },
}
SCSS
$custom: #286a1a;
$custom-light: #6b955c;
$custom-dark: #000000;
JSON
{
  "hex": "#286a1a",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 26
  },
  "hsl": {
    "h": 109.5,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.13104,
    "h": 140.5
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#286A1A
secondary
#8F409F
accent
#44E4C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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