#286415#286415

#286415 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.7% C 0.126 H 139.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#286415
RGBrgb(40, 100, 21)
HSLhsl(106, 65%, 24%)
HSVhsv(106, 79%, 39%)
CMYKcmyk(60%, 0%, 79%, 60.8%)
CIE-LABlab(37.15, -34.91, 36.57)
CIE-LCHlch(37.15, 50.56, 133.67°)
OKLaboklab(44.66% -0.096 0.0823)
OKLCHoklch(44.66% 0.126 139.4)
XYZxyz(5.5674, 9.6191, 2.2726)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286415 #511564
analogous
#4F6415 #286415 #156429
triadic
#286415 #152864 #641528
tetradic
#286415 #154F64 #511564 #642915
square
#286415 #154F64 #511564 #642915
split-complementary
#286415 #291564 #64154F
monochromatic
#0A1905 #14310A #286415 #3C9720 #50C92A

Accessibility & contrast

On white

7.18
#286415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#286415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286415
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286415#FFFFFF#000000##FFFFFF
##2864151.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A06
Deuteranopia (green-blind)
#60561D
Tritanopia (blue-blind)
#216055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286415;
/* rgb */ color: rgb(40, 100, 21);
/* oklch */ color: oklch(44.7% 0.126 139.4);
Tailwind
colors: {
  custom: {
    50: '#6a9159',
    500: '#286415',
    950: '#000000',
  },
}
SCSS
$custom: #286415;
$custom-light: #6a9159;
$custom-dark: #000000;
JSON
{
  "hex": "#286415",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 105.57,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44663,
    "c": 0.12646,
    "h": 139.4
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#286415
secondary
#843A9B
accent
#40E8C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #286415

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

Preview Lab → · Contrast checker → · Palette generator →

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