#286C18#286C18

#286C18 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.135 H 140.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#286C18
RGBrgb(40, 108, 24)
HSLhsl(109, 64%, 26%)
HSVhsv(109, 78%, 42%)
CMYKcmyk(63%, 0%, 77.8%, 57.6%)
CIE-LABlab(39.98, -37.87, 38.23)
CIE-LCHlch(39.98, 53.81, 134.73°)
OKLaboklab(47.01% -0.1038 0.0862)
OKLCHoklch(47.01% 0.135 140.3)
XYZxyz(6.4022, 11.2416, 2.6964)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C18 #5C186C
analogous
#526C18 #286C18 #186C32
triadic
#286C18 #18286C #6C1828
tetradic
#286C18 #18526C #5C186C #6C3218
square
#286C18 #18526C #5C186C #6C3218
split-complementary
#286C18 #32186C #6C1852
monochromatic
#091906 #153A0D #286C18 #3B9E23 #4DD02E

Accessibility & contrast

On white

6.46
#286C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#286C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C18
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C18#FFFFFF#000000##FFFFFF
##286C181.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6208
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#1F685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286c18;
/* rgb */ color: rgb(40, 108, 24);
/* oklch */ color: oklch(47.0% 0.135 140.3);
Tailwind
colors: {
  custom: {
    50: '#6b975b',
    500: '#286c18',
    950: '#000000',
  },
}
SCSS
$custom: #286c18;
$custom-light: #6b975b;
$custom-dark: #000000;
JSON
{
  "hex": "#286c18",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 108.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47011,
    "c": 0.13494,
    "h": 140.3
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#286C18
secondary
#8F3EA2
accent
#41E7C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286C18

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

Preview Lab → · Contrast checker → · Palette generator →

#286C18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva