#286D27#286D27

#286D27 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.5% C 0.125 H 143.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#286D27
RGBrgb(40, 109, 39)
HSLhsl(119, 47%, 29%)
HSVhsv(119, 64%, 43%)
CMYKcmyk(63.3%, 0%, 64.2%, 57.3%)
CIE-LABlab(40.47, -36.75, 32.04)
CIE-LCHlch(40.47, 48.76, 138.91°)
OKLaboklab(47.45% -0.0999 0.0751)
OKLCHoklch(47.45% 0.125 143.1)
XYZxyz(6.7095, 11.5343, 3.7918)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D27 #6C276D
analogous
#4B6D27 #286D27 #276D49
triadic
#286D27 #27286D #6D2728
tetradic
#286D27 #274B6D #6C276D #6D4927
square
#286D27 #274B6D #6C276D #6D4927
split-complementary
#286D27 #49276D #6D274B
monochromatic
#081708 #174017 #286D27 #399A37 #50C04F

Accessibility & contrast

On white

6.35
#286D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#286D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D27
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D27#FFFFFF#000000##FFFFFF
##286D271.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F631F
Deuteranopia (green-blind)
#675D2D
Tritanopia (blue-blind)
#1B6A5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286d27;
/* rgb */ color: rgb(40, 109, 39);
/* oklch */ color: oklch(47.5% 0.125 143.1);
Tailwind
colors: {
  custom: {
    50: '#6b9764',
    500: '#286d27',
    950: '#000000',
  },
}
SCSS
$custom: #286d27;
$custom-light: #6b9764;
$custom-dark: #000000;
JSON
{
  "hex": "#286d27",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 39
  },
  "hsl": {
    "h": 119.143,
    "s": 47.297,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47451,
    "c": 0.12495,
    "h": 143.1
  },
  "luminance": 0.11535
}

Semantic roles & 50–950 ramp

primary
#286D27
secondary
#9E50A0
accent
#51D7D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #286D27

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

Preview Lab → · Contrast checker → · Palette generator →

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