#286B18#286B18

#286B18 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.134 H 140.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#286B18
RGBrgb(40, 107, 24)
HSLhsl(108, 63%, 26%)
HSVhsv(108, 78%, 42%)
CMYKcmyk(62.6%, 0%, 77.6%, 58%)
CIE-LABlab(39.63, -37.48, 37.88)
CIE-LCHlch(39.63, 53.29, 134.70°)
OKLaboklab(46.72% -0.1028 0.0855)
OKLCHoklch(46.72% 0.134 140.3)
XYZxyz(6.2973, 11.0319, 2.6615)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B18 #5B186B
analogous
#516B18 #286B18 #186B31
triadic
#286B18 #18286B #6B1828
tetradic
#286B18 #18516B #5B186B #6B3118
square
#286B18 #18516B #5B186B #6B3118
split-complementary
#286B18 #31186B #6B1851
monochromatic
#091906 #15390D #286B18 #3B9D23 #4DCF2E

Accessibility & contrast

On white

6.55
#286B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#286B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B18
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B18#FFFFFF#000000##FFFFFF
##286B181.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#1F675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286b18;
/* rgb */ color: rgb(40, 107, 24);
/* oklch */ color: oklch(46.7% 0.134 140.3);
Tailwind
colors: {
  custom: {
    50: '#6b965b',
    500: '#286b18',
    950: '#000000',
  },
}
SCSS
$custom: #286b18;
$custom-light: #6b965b;
$custom-dark: #000000;
JSON
{
  "hex": "#286b18",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 108.434,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46721,
    "c": 0.13366,
    "h": 140.3
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#286B18
secondary
#8E3EA1
accent
#41E6C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286B18

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

Preview Lab → · Contrast checker → · Palette generator →

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