#286317#286317

#286317 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.4% C 0.124 H 139.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#286317
RGBrgb(40, 99, 23)
HSLhsl(107, 62%, 24%)
HSVhsv(107, 77%, 39%)
CMYKcmyk(59.6%, 0%, 76.8%, 61.2%)
CIE-LABlab(36.81, -34.34, 35.43)
CIE-LCHlch(36.81, 49.34, 134.11°)
OKLaboklab(44.39% -0.0944 0.0802)
OKLCHoklch(44.39% 0.124 139.6)
XYZxyz(5.4913, 9.4362, 2.3424)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286317 #521763
analogous
#4E6317 #286317 #17632C
triadic
#286317 #172863 #631728
tetradic
#286317 #174E63 #521763 #632C17
square
#286317 #174E63 #521763 #632C17
split-complementary
#286317 #2C1763 #63174E
monochromatic
#0A1906 #14310B #286317 #3C9523 #50C62E

Accessibility & contrast

On white

7.27
#286317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#286317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286317
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286317#FFFFFF#000000##FFFFFF
##2863171.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#216054
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286317;
/* rgb */ color: rgb(40, 99, 23);
/* oklch */ color: oklch(44.4% 0.124 139.6);
Tailwind
colors: {
  custom: {
    50: '#699059',
    500: '#286317',
    950: '#000000',
  },
}
SCSS
$custom: #286317;
$custom-light: #699059;
$custom-dark: #000000;
JSON
{
  "hex": "#286317",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 106.579,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.12384,
    "h": 139.6
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#286317
secondary
#853C9A
accent
#42E5C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #286317

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

Preview Lab → · Contrast checker → · Palette generator →

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