#286E20#286E20

#286E20 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.132 H 141.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#286E20
RGBrgb(40, 110, 32)
HSLhsl(114, 55%, 28%)
HSVhsv(114, 71%, 43%)
CMYKcmyk(63.6%, 0%, 70.9%, 56.9%)
CIE-LABlab(40.75, -37.93, 35.66)
CIE-LCHlch(40.75, 52.06, 136.77°)
OKLaboklab(47.66% -0.1035 0.0819)
OKLCHoklch(47.66% 0.132 141.6)
XYZxyz(6.7114, 11.7066, 3.2721)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E20 #66206E
analogous
#4F6E20 #286E20 #206E3F
triadic
#286E20 #20286E #6E2028
tetradic
#286E20 #204F6E #66206E #6E3F20
square
#286E20 #204F6E #66206E #6E3F20
split-complementary
#286E20 #3F206E #6E204F
monochromatic
#091807 #173F12 #286E20 #399D2E #4FC841

Accessibility & contrast

On white

6.28
#286E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#286E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E20
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E20#FFFFFF#000000##FFFFFF
##286E201.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#1D6B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e20;
/* rgb */ color: rgb(40, 110, 32);
/* oklch */ color: oklch(47.7% 0.132 141.6);
Tailwind
colors: {
  custom: {
    50: '#6b9860',
    500: '#286e20',
    950: '#000000',
  },
}
SCSS
$custom: #286e20;
$custom-light: #6b9860;
$custom-dark: #000000;
JSON
{
  "hex": "#286e20",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 113.846,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.132,
    "h": 141.6
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#286E20
secondary
#9948A2
accent
#4ADECF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286E20

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

Preview Lab → · Contrast checker → · Palette generator →

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