#286715#286715

#286715 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.130 H 139.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#286715
RGBrgb(40, 103, 21)
HSLhsl(106, 66%, 24%)
HSVhsv(106, 80%, 40%)
CMYKcmyk(61.2%, 0%, 79.6%, 59.6%)
CIE-LABlab(38.21, -36.13, 37.62)
CIE-LCHlch(38.21, 52.16, 133.84°)
OKLaboklab(45.54% -0.0993 0.0845)
OKLCHoklch(45.54% 0.13 139.6)
XYZxyz(5.8604, 10.2052, 2.3703)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286715 #541567
analogous
#516715 #286715 #15672B
triadic
#286715 #152867 #671528
tetradic
#286715 #155167 #541567 #672B15
square
#286715 #155167 #541567 #672B15
split-complementary
#286715 #2B1567 #671551
monochromatic
#0A1905 #14340B #286715 #3C9A1F #4FCD2A

Accessibility & contrast

On white

6.91
#286715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#286715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286715
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286715#FFFFFF#000000##FFFFFF
##2867151.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D04
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#216357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #286715;
/* rgb */ color: rgb(40, 103, 21);
/* oklch */ color: oklch(45.5% 0.130 139.6);
Tailwind
colors: {
  custom: {
    50: '#6a9359',
    500: '#286715',
    950: '#000000',
  },
}
SCSS
$custom: #286715;
$custom-light: #6a9359;
$custom-dark: #000000;
JSON
{
  "hex": "#286715",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 106.098,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45537,
    "c": 0.13036,
    "h": 139.6
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#286715
secondary
#873A9E
accent
#3FE9C2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286715

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

Preview Lab → · Contrast checker → · Palette generator →

#286715 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva