#286A20#286A20

#286A20 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.127 H 141.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#286A20
RGBrgb(40, 106, 32)
HSLhsl(114, 54%, 27%)
HSVhsv(114, 70%, 42%)
CMYKcmyk(62.3%, 0%, 69.8%, 58.4%)
CIE-LABlab(39.35, -36.33, 34.15)
CIE-LCHlch(39.35, 49.86, 136.77°)
OKLaboklab(46.51% -0.0992 0.0788)
OKLCHoklch(46.51% 0.127 141.5)
XYZxyz(6.2895, 10.8629, 3.1315)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A20 #62206A
analogous
#4D6A20 #286A20 #206A3D
triadic
#286A20 #20286A #6A2028
tetradic
#286A20 #204D6A #62206A #6A3D20
square
#286A20 #204D6A #62206A #6A3D20
split-complementary
#286A20 #3D206A #6A204D
monochromatic
#091807 #163B12 #286A20 #3A992E #4EC53F

Accessibility & contrast

On white

6.62
#286A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286A20
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A20#FFFFFF#000000##FFFFFF
##286A201.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6016
Deuteranopia (green-blind)
#645B27
Tritanopia (blue-blind)
#1E675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a20;
/* rgb */ color: rgb(40, 106, 32);
/* oklch */ color: oklch(46.5% 0.127 141.5);
Tailwind
colors: {
  custom: {
    50: '#6a955f',
    500: '#286a20',
    950: '#000000',
  },
}
SCSS
$custom: #286a20;
$custom-light: #6a955f;
$custom-dark: #000000;
JSON
{
  "hex": "#286a20",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 32
  },
  "hsl": {
    "h": 113.514,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46506,
    "c": 0.12663,
    "h": 141.5
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#286A20
secondary
#95489E
accent
#4BDDCD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286A20

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

Preview Lab → · Contrast checker → · Palette generator →

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