#286017#286017

#286017 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.5% C 0.120 H 139.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#286017
RGBrgb(40, 96, 23)
HSLhsl(106, 61%, 23%)
HSVhsv(106, 76%, 38%)
CMYKcmyk(58.3%, 0%, 76%, 62.4%)
CIE-LABlab(35.75, -33.09, 34.34)
CIE-LCHlch(35.75, 47.69, 133.94°)
OKLaboklab(43.51% -0.091 0.0779)
OKLCHoklch(43.51% 0.12 139.4)
XYZxyz(5.2124, 8.8783, 2.2495)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286017 #4F1760
analogous
#4C6017 #286017 #17602A
triadic
#286017 #172860 #601728
tetradic
#286017 #174C60 #4F1760 #602A17
square
#286017 #174C60 #4F1760 #602A17
split-complementary
#286017 #2A1760 #60174C
monochromatic
#0A1906 #132F0B #286017 #3D9123 #51C32F

Accessibility & contrast

On white

7.57
#286017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#286017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286017
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286017#FFFFFF#000000##FFFFFF
##2860171.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#225D52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #286017;
/* rgb */ color: rgb(40, 96, 23);
/* oklch */ color: oklch(43.5% 0.120 139.4);
Tailwind
colors: {
  custom: {
    50: '#698e59',
    500: '#286017',
    950: '#000000',
  },
}
SCSS
$custom: #286017;
$custom-light: #698e59;
$custom-dark: #000000;
JSON
{
  "hex": "#286017",
  "rgb": {
    "r": 40,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 106.027,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43512,
    "c": 0.1198,
    "h": 139.4
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#286017
secondary
#823C97
accent
#43E4BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #286017

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

Preview Lab → · Contrast checker → · Palette generator →

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