#286D1B#286D1B

#286D1B is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.134 H 140.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#286D1B
RGBrgb(40, 109, 27)
HSLhsl(110, 60%, 27%)
HSVhsv(110, 75%, 43%)
CMYKcmyk(63.3%, 0%, 75.2%, 57.3%)
CIE-LABlab(40.36, -38.01, 37.40)
CIE-LCHlch(40.36, 53.33, 135.46°)
OKLaboklab(47.33% -0.104 0.0849)
OKLCHoklch(47.33% 0.134 140.8)
XYZxyz(6.5412, 11.4669, 2.9053)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D1B #601B6D
analogous
#516D1B #286D1B #1B6D37
triadic
#286D1B #1B286D #6D1B28
tetradic
#286D1B #1B516D #601B6D #6D371B
square
#286D1B #1B516D #601B6D #6D371B
split-complementary
#286D1B #371B6D #6D1B51
monochromatic
#091906 #163C0F #286D1B #3A9E27 #4DCD35

Accessibility & contrast

On white

6.38
#286D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#286D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D1B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D1B#FFFFFF#000000##FFFFFF
##286D1B1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630D
Deuteranopia (green-blind)
#675D23
Tritanopia (blue-blind)
#1E695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286d1b;
/* rgb */ color: rgb(40, 109, 27);
/* oklch */ color: oklch(47.3% 0.134 140.8);
Tailwind
colors: {
  custom: {
    50: '#6b985d',
    500: '#286d1b',
    950: '#000000',
  },
}
SCSS
$custom: #286d1b;
$custom-light: #6b985d;
$custom-dark: #000000;
JSON
{
  "hex": "#286d1b",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 110.488,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.13427,
    "h": 140.8
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#286D1B
secondary
#9342A2
accent
#44E3CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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