#286E21#286E21

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

Color values

HEX#286E21
RGBrgb(40, 110, 33)
HSLhsl(115, 54%, 28%)
HSVhsv(115, 70%, 43%)
CMYKcmyk(63.6%, 0%, 70%, 56.9%)
CIE-LABlab(40.76, -37.83, 35.22)
CIE-LCHlch(40.76, 51.68, 137.05°)
OKLaboklab(47.67% -0.1032 0.0811)
OKLCHoklch(47.67% 0.131 141.8)
XYZxyz(6.7252, 11.7122, 3.3448)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E21 #67216E
analogous
#4E6E21 #286E21 #216E40
triadic
#286E21 #21286E #6E2128
tetradic
#286E21 #214E6E #67216E #6E4021
square
#286E21 #214E6E #67216E #6E4021
split-complementary
#286E21 #40216E #6E214E
monochromatic
#091807 #173F13 #286E21 #399D2F #4FC743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286E21#FFFFFF#000000##FFFFFF
##286E211.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)
#716417
Deuteranopia (green-blind)
#685E28
Tritanopia (blue-blind)
#1D6B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e21;
/* rgb */ color: rgb(40, 110, 33);
/* oklch */ color: oklch(47.7% 0.131 141.8);
Tailwind
colors: {
  custom: {
    50: '#6b9860',
    500: '#286e21',
    950: '#000000',
  },
}
SCSS
$custom: #286e21;
$custom-light: #6b9860;
$custom-dark: #000000;
JSON
{
  "hex": "#286e21",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 33
  },
  "hsl": {
    "h": 114.545,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.13123,
    "h": 141.8
  },
  "luminance": 0.11713
}

Semantic roles & 50–950 ramp

primary
#286E21
secondary
#9A49A2
accent
#4BDDD0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286E21

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

Preview Lab → · Contrast checker → · Palette generator →

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