#286A1B#286A1B

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

Color values

HEX#286A1B
RGBrgb(40, 106, 27)
HSLhsl(110, 59%, 26%)
HSVhsv(110, 75%, 42%)
CMYKcmyk(62.3%, 0%, 74.5%, 58.4%)
CIE-LABlab(39.31, -36.83, 36.32)
CIE-LCHlch(39.31, 51.72, 135.40°)
OKLaboklab(46.46% -0.1008 0.0826)
OKLCHoklch(46.46% 0.13 140.7)
XYZxyz(6.2266, 10.8378, 2.8005)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A1B #5D1B6A
analogous
#4F6A1B #286A1B #1B6A35
triadic
#286A1B #1B286A #6A1B28
tetradic
#286A1B #1B4F6A #5D1B6A #6A351B
square
#286A1B #1B4F6A #5D1B6A #6A351B
split-complementary
#286A1B #351B6A #6A1B4F
monochromatic
#091806 #16390F #286A1B #3A9B27 #4DCB34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286A1B#FFFFFF#000000##FFFFFF
##286A1B1.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)
#6D600E
Deuteranopia (green-blind)
#655A23
Tritanopia (blue-blind)
#1F665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a1b;
/* rgb */ color: rgb(40, 106, 27);
/* oklch */ color: oklch(46.5% 0.130 140.7);
Tailwind
colors: {
  custom: {
    50: '#6b955c',
    500: '#286a1b',
    950: '#000000',
  },
}
SCSS
$custom: #286a1b;
$custom-light: #6b955c;
$custom-dark: #000000;
JSON
{
  "hex": "#286a1b",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 110.127,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.13035,
    "h": 140.7
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#286A1B
secondary
#90429F
accent
#45E3C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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