#286A0F#286A0F

#286A0F is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.137 H 139.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#286A0F
RGBrgb(40, 106, 15)
HSLhsl(104, 75%, 24%)
HSVhsv(104, 86%, 42%)
CMYKcmyk(62.3%, 0%, 85.8%, 58.4%)
CIE-LABlab(39.23, -37.71, 40.64)
CIE-LCHlch(39.23, 55.44, 132.85°)
OKLaboklab(46.37% -0.1039 0.0898)
OKLCHoklch(46.37% 0.137 139.2)
XYZxyz(6.1151, 10.7931, 2.2129)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A0F #510F6A
analogous
#556A0F #286A0F #0F6A23
triadic
#286A0F #0F286A #6A0F28
tetradic
#286A0F #0F556A #510F6A #6A230F
square
#286A0F #0F556A #510F6A #6A230F
split-complementary
#286A0F #230F6A #6A0F55
monochromatic
#0A1B04 #143407 #286A0F #3CA017 #50D51E

Accessibility & contrast

On white

6.65
#286A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#286A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A0F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A0F#FFFFFF#000000##FFFFFF
##286A0F1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#20665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #286a0f;
/* rgb */ color: rgb(40, 106, 15);
/* oklch */ color: oklch(46.4% 0.137 139.2);
Tailwind
colors: {
  custom: {
    50: '#6b9557',
    500: '#286a0f',
    950: '#000000',
  },
}
SCSS
$custom: #286a0f;
$custom-light: #6b9557;
$custom-dark: #000000;
JSON
{
  "hex": "#286a0f",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 103.516,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4637,
    "c": 0.13737,
    "h": 139.2
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#286A0F
secondary
#8432A2
accent
#36F2BE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #286A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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