#286318#286318

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

Color values

HEX#286318
RGBrgb(40, 99, 24)
HSLhsl(107, 61%, 24%)
HSVhsv(107, 76%, 39%)
CMYKcmyk(59.6%, 0%, 75.8%, 61.2%)
CIE-LABlab(36.82, -34.25, 35.02)
CIE-LCHlch(36.82, 48.99, 134.37°)
OKLaboklab(44.4% -0.0941 0.0795)
OKLCHoklch(44.4% 0.123 139.8)
XYZxyz(5.5015, 9.4403, 2.3962)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286318 #531863
analogous
#4E6318 #286318 #18632E
triadic
#286318 #182863 #631828
tetradic
#286318 #184E63 #531863 #632E18
square
#286318 #184E63 #531863 #632E18
split-complementary
#286318 #2E1863 #63184E
monochromatic
#0A1906 #14320C #286318 #3C9424 #50C630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286318#FFFFFF#000000##FFFFFF
##2863181.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)
#665A0C
Deuteranopia (green-blind)
#5E551F
Tritanopia (blue-blind)
#216054
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286318;
/* rgb */ color: rgb(40, 99, 24);
/* oklch */ color: oklch(44.4% 0.123 139.8);
Tailwind
colors: {
  custom: {
    50: '#69905a',
    500: '#286318',
    950: '#000000',
  },
}
SCSS
$custom: #286318;
$custom-light: #69905a;
$custom-dark: #000000;
JSON
{
  "hex": "#286318",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 107.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44396,
    "c": 0.12314,
    "h": 139.8
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#286318
secondary
#863E99
accent
#44E4C2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #286318

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

Preview Lab → · Contrast checker → · Palette generator →

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