#286B1C#286B1C

#286B1C is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.131 H 140.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#286B1C
RGBrgb(40, 107, 28)
HSLhsl(111, 59%, 26%)
HSVhsv(111, 74%, 42%)
CMYKcmyk(62.6%, 0%, 73.8%, 58%)
CIE-LABlab(39.66, -37.13, 36.27)
CIE-LCHlch(39.66, 51.90, 135.68°)
OKLaboklab(46.76% -0.1016 0.0827)
OKLCHoklch(46.76% 0.131 140.9)
XYZxyz(6.3421, 11.0498, 2.8970)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B1C #5F1C6B
analogous
#506B1C #286B1C #1C6B38
triadic
#286B1C #1C286B #6B1C28
tetradic
#286B1C #1C506B #5F1C6B #6B381C
square
#286B1C #1C506B #5F1C6B #6B381C
split-complementary
#286B1C #381C6B #6B1C50
monochromatic
#091806 #163A0F #286B1C #3A9C29 #4DCB37

Accessibility & contrast

On white

6.54
#286B1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286B1C
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B1C#FFFFFF#000000##FFFFFF
##286B1C1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6110
Deuteranopia (green-blind)
#665B24
Tritanopia (blue-blind)
#1E675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286b1c;
/* rgb */ color: rgb(40, 107, 28);
/* oklch */ color: oklch(46.8% 0.131 140.9);
Tailwind
colors: {
  custom: {
    50: '#6b965d',
    500: '#286b1c',
    950: '#000000',
  },
}
SCSS
$custom: #286b1c;
$custom-light: #6b965d;
$custom-dark: #000000;
JSON
{
  "hex": "#286b1c",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 28
  },
  "hsl": {
    "h": 110.886,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46756,
    "c": 0.13096,
    "h": 140.9
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#286B1C
secondary
#9243A0
accent
#46E2CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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