#286B1B#286B1B

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

Color values

HEX#286B1B
RGBrgb(40, 107, 27)
HSLhsl(110, 60%, 26%)
HSVhsv(110, 75%, 42%)
CMYKcmyk(62.6%, 0%, 74.8%, 58%)
CIE-LABlab(39.66, -37.22, 36.68)
CIE-LCHlch(39.66, 52.26, 135.42°)
OKLaboklab(46.75% -0.1019 0.0834)
OKLCHoklch(46.75% 0.132 140.7)
XYZxyz(6.3303, 11.0451, 2.8350)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B1B #5E1B6B
analogous
#506B1B #286B1B #1B6B36
triadic
#286B1B #1B286B #6B1B28
tetradic
#286B1B #1B506B #5E1B6B #6B361B
square
#286B1B #1B506B #5E1B6B #6B361B
split-complementary
#286B1B #361B6B #6B1B50
monochromatic
#091806 #163A0F #286B1B #3A9C27 #4DCC35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286B1B#FFFFFF#000000##FFFFFF
##286B1B1.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)
#6E610E
Deuteranopia (green-blind)
#665B23
Tritanopia (blue-blind)
#1F675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286b1b;
/* rgb */ color: rgb(40, 107, 27);
/* oklch */ color: oklch(46.7% 0.132 140.7);
Tailwind
colors: {
  custom: {
    50: '#6b965d',
    500: '#286b1b',
    950: '#000000',
  },
}
SCSS
$custom: #286b1b;
$custom-light: #6b965d;
$custom-dark: #000000;
JSON
{
  "hex": "#286b1b",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 27
  },
  "hsl": {
    "h": 110.25,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46747,
    "c": 0.13167,
    "h": 140.7
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#286B1B
secondary
#9142A0
accent
#45E3C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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