#286E15#286E15

#286E15 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.139 H 140.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#286E15
RGBrgb(40, 110, 21)
HSLhsl(107, 68%, 26%)
HSVhsv(107, 81%, 43%)
CMYKcmyk(63.6%, 0%, 80.9%, 56.9%)
CIE-LABlab(40.66, -38.88, 40.02)
CIE-LCHlch(40.66, 55.79, 134.17°)
OKLaboklab(47.57% -0.1067 0.0895)
OKLCHoklch(47.57% 0.139 140)
XYZxyz(6.5861, 11.6565, 2.6122)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E15 #5B156E
analogous
#546E15 #286E15 #156E2E
triadic
#286E15 #15286E #6E1528
tetradic
#286E15 #15546E #5B156E #6E2E15
square
#286E15 #15546E #5B156E #6E2E15
split-complementary
#286E15 #2E156E #6E1554
monochromatic
#091A05 #153B0B #286E15 #3BA11F #4DD529

Accessibility & contrast

On white

6.30
#286E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#286E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E15
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E15#FFFFFF#000000##FFFFFF
##286E151.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716301
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#1E6A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e15;
/* rgb */ color: rgb(40, 110, 21);
/* oklch */ color: oklch(47.6% 0.139 140.0);
Tailwind
colors: {
  custom: {
    50: '#6c985a',
    500: '#286e15',
    950: '#000000',
  },
}
SCSS
$custom: #286e15;
$custom-light: #6c985a;
$custom-dark: #000000;
JSON
{
  "hex": "#286e15",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 107.191,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.13926,
    "h": 140
  },
  "luminance": 0.11657
}

Semantic roles & 50–950 ramp

primary
#286E15
secondary
#8E3AA4
accent
#3DEBC6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286E15

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

Preview Lab → · Contrast checker → · Palette generator →

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