#286E27#286E27

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

Color values

HEX#286E27
RGBrgb(40, 110, 39)
HSLhsl(119, 48%, 29%)
HSVhsv(119, 65%, 43%)
CMYKcmyk(63.6%, 0%, 64.5%, 56.9%)
CIE-LABlab(40.81, -37.15, 32.44)
CIE-LCHlch(40.81, 49.32, 138.87°)
OKLaboklab(47.74% -0.101 0.0759)
OKLCHoklch(47.74% 0.126 143.1)
XYZxyz(6.8168, 11.7488, 3.8276)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E27 #6D276E
analogous
#4C6E27 #286E27 #276E4A
triadic
#286E27 #27286E #6E2728
tetradic
#286E27 #274C6E #6D276E #6E4A27
square
#286E27 #274C6E #6D276E #6E4A27
split-complementary
#286E27 #4A276E #6E274C
monochromatic
#081708 #184117 #286E27 #389B37 #50C14F

Accessibility & contrast

On white

6.27
#286E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#286E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E27
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E27#FFFFFF#000000##FFFFFF
##286E271.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70641F
Deuteranopia (green-blind)
#685E2D
Tritanopia (blue-blind)
#1B6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e27;
/* rgb */ color: rgb(40, 110, 39);
/* oklch */ color: oklch(47.7% 0.126 143.1);
Tailwind
colors: {
  custom: {
    50: '#6b9864',
    500: '#286e27',
    950: '#000000',
  },
}
SCSS
$custom: #286e27;
$custom-light: #6b9864;
$custom-dark: #000000;
JSON
{
  "hex": "#286e27",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 39
  },
  "hsl": {
    "h": 119.155,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.12632,
    "h": 143.1
  },
  "luminance": 0.11749
}

Semantic roles & 50–950 ramp

primary
#286E27
secondary
#9F50A1
accent
#51D7D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #286E27

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

Preview Lab → · Contrast checker → · Palette generator →

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