#286417#286417

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

Color values

HEX#286417
RGBrgb(40, 100, 23)
HSLhsl(107, 63%, 24%)
HSVhsv(107, 77%, 39%)
CMYKcmyk(60%, 0%, 77%, 60.8%)
CIE-LABlab(37.16, -34.75, 35.79)
CIE-LCHlch(37.16, 49.88, 134.16°)
OKLaboklab(44.68% -0.0955 0.0809)
OKLCHoklch(44.68% 0.125 139.7)
XYZxyz(5.5867, 9.6268, 2.3742)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286417 #531764
analogous
#4F6417 #286417 #17642D
triadic
#286417 #172864 #641728
tetradic
#286417 #174F64 #531764 #642D17
square
#286417 #174F64 #531764 #642D17
split-complementary
#286417 #2D1764 #64174F
monochromatic
#0A1906 #14320C #286417 #3C9622 #50C82E

Accessibility & contrast

On white

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

On black

2.93
#286417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##286417#FFFFFF#000000##FFFFFF
##2864171.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B09
Deuteranopia (green-blind)
#5F561F
Tritanopia (blue-blind)
#216055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286417;
/* rgb */ color: rgb(40, 100, 23);
/* oklch */ color: oklch(44.7% 0.125 139.7);
Tailwind
colors: {
  custom: {
    50: '#6a915a',
    500: '#286417',
    950: '#000000',
  },
}
SCSS
$custom: #286417;
$custom-light: #6a915a;
$custom-dark: #000000;
JSON
{
  "hex": "#286417",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 106.753,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.12516,
    "h": 139.7
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#286417
secondary
#863C9A
accent
#42E6C2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #286417

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

Preview Lab → · Contrast checker → · Palette generator →

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