#286B20#286B20

#286B20 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.128 H 141.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#286B20
RGBrgb(40, 107, 32)
HSLhsl(114, 54%, 27%)
HSVhsv(114, 70%, 42%)
CMYKcmyk(62.6%, 0%, 70.1%, 58%)
CIE-LABlab(39.70, -36.74, 34.53)
CIE-LCHlch(39.70, 50.42, 136.77°)
OKLaboklab(46.79% -0.1003 0.0796)
OKLCHoklch(46.79% 0.128 141.6)
XYZxyz(6.3932, 11.0702, 3.1661)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B20 #63206B
analogous
#4E6B20 #286B20 #206B3E
triadic
#286B20 #20286B #6B2028
tetradic
#286B20 #204E6B #63206B #6B3E20
square
#286B20 #204E6B #63206B #6B3E20
split-complementary
#286B20 #3E206B #6B204E
monochromatic
#091807 #163C12 #286B20 #3A9A2E #4EC640

Accessibility & contrast

On white

6.53
#286B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#286B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B20
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B20#FFFFFF#000000##FFFFFF
##286B201.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6116
Deuteranopia (green-blind)
#655B27
Tritanopia (blue-blind)
#1E685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b20;
/* rgb */ color: rgb(40, 107, 32);
/* oklch */ color: oklch(46.8% 0.128 141.6);
Tailwind
colors: {
  custom: {
    50: '#6b965f',
    500: '#286b20',
    950: '#000000',
  },
}
SCSS
$custom: #286b20;
$custom-light: #6b965f;
$custom-dark: #000000;
JSON
{
  "hex": "#286b20",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 32
  },
  "hsl": {
    "h": 113.6,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.12799,
    "h": 141.6
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#286B20
secondary
#96489F
accent
#4ADDCE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286B20

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

Preview Lab → · Contrast checker → · Palette generator →

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