#286B27#286B27

#286B27 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.122 H 143.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#286B27
RGBrgb(40, 107, 39)
HSLhsl(119, 47%, 29%)
HSVhsv(119, 64%, 42%)
CMYKcmyk(62.6%, 0%, 63.6%, 58%)
CIE-LABlab(39.77, -35.93, 31.25)
CIE-LCHlch(39.77, 47.62, 138.99°)
OKLaboklab(46.88% -0.0977 0.0734)
OKLCHoklch(46.88% 0.122 143.1)
XYZxyz(6.4986, 11.1124, 3.7215)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B27 #6A276B
analogous
#4A6B27 #286B27 #276B48
triadic
#286B27 #27286B #6B2728
tetradic
#286B27 #274A6B #6A276B #6B4827
square
#286B27 #274A6B #6A276B #6B4827
split-complementary
#286B27 #48276B #6B274A
monochromatic
#081608 #173E17 #286B27 #399837 #50BE4E

Accessibility & contrast

On white

6.52
#286B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#286B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B27
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B27#FFFFFF#000000##FFFFFF
##286B271.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6120
Deuteranopia (green-blind)
#655B2D
Tritanopia (blue-blind)
#1C685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b27;
/* rgb */ color: rgb(40, 107, 39);
/* oklch */ color: oklch(46.9% 0.122 143.1);
Tailwind
colors: {
  custom: {
    50: '#6a9664',
    500: '#286b27',
    950: '#000000',
  },
}
SCSS
$custom: #286b27;
$custom-light: #6a9664;
$custom-dark: #000000;
JSON
{
  "hex": "#286b27",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 39
  },
  "hsl": {
    "h": 119.118,
    "s": 46.575,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46876,
    "c": 0.12215,
    "h": 143.1
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#286B27
secondary
#9D509E
accent
#52D6D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #286B27

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

Preview Lab → · Contrast checker → · Palette generator →

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