#286B1A#286B1A

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

Color values

HEX#286B1A
RGBrgb(40, 107, 26)
HSLhsl(110, 61%, 26%)
HSVhsv(110, 76%, 42%)
CMYKcmyk(62.6%, 0%, 75.7%, 58%)
CIE-LABlab(39.65, -37.31, 37.09)
CIE-LCHlch(39.65, 52.61, 135.17°)
OKLaboklab(46.74% -0.1022 0.0841)
OKLCHoklch(46.74% 0.132 140.5)
XYZxyz(6.3189, 11.0405, 2.7751)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B1A #5D1A6B
analogous
#506B1A #286B1A #1A6B34
triadic
#286B1A #1A286B #6B1A28
tetradic
#286B1A #1A506B #5D1A6B #6B341A
square
#286B1A #1A506B #5D1A6B #6B341A
split-complementary
#286B1A #341A6B #6B1A50
monochromatic
#091906 #163A0E #286B1A #3A9C26 #4DCD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #286b1a;
/* rgb */ color: rgb(40, 107, 26);
/* oklch */ color: oklch(46.7% 0.132 140.5);
Tailwind
colors: {
  custom: {
    50: '#6b965c',
    500: '#286b1a',
    950: '#000000',
  },
}
SCSS
$custom: #286b1a;
$custom-light: #6b965c;
$custom-dark: #000000;
JSON
{
  "hex": "#286b1a",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 26
  },
  "hsl": {
    "h": 109.63,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46738,
    "c": 0.13235,
    "h": 140.5
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#286B1A
secondary
#9040A0
accent
#44E4C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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