#286018#286018

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

Color values

HEX#286018
RGBrgb(40, 96, 24)
HSLhsl(107, 60%, 24%)
HSVhsv(107, 75%, 38%)
CMYKcmyk(58.3%, 0%, 75%, 62.4%)
CIE-LABlab(35.76, -33.00, 33.92)
CIE-LCHlch(35.76, 47.33, 134.21°)
OKLaboklab(43.52% -0.0907 0.0772)
OKLCHoklch(43.52% 0.119 139.6)
XYZxyz(5.2226, 8.8824, 2.3032)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286018 #501860
analogous
#4C6018 #286018 #18602C
triadic
#286018 #182860 #601828
tetradic
#286018 #184C60 #501860 #602C18
square
#286018 #184C60 #501860 #602C18
split-complementary
#286018 #2C1860 #60184C
monochromatic
#0A1806 #142F0C #286018 #3C9124 #51C230

Accessibility & contrast

On white

7.56
#286018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #286018
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286018#FFFFFF#000000##FFFFFF
##2860181.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #286018;
/* rgb */ color: rgb(40, 96, 24);
/* oklch */ color: oklch(43.5% 0.119 139.6);
Tailwind
colors: {
  custom: {
    50: '#698e5a',
    500: '#286018',
    950: '#000000',
  },
}
SCSS
$custom: #286018;
$custom-light: #698e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#286018",
  "rgb": {
    "r": 40,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 106.667,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.11909,
    "h": 139.6
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#286018
secondary
#833D96
accent
#45E3C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #286018

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

Preview Lab → · Contrast checker → · Palette generator →

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