#286711#286711

#286711 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.133 H 139.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#286711
RGBrgb(40, 103, 17)
HSLhsl(104, 72%, 24%)
HSVhsv(104, 83%, 40%)
CMYKcmyk(61.2%, 0%, 83.5%, 59.6%)
CIE-LABlab(38.18, -36.41, 39.03)
CIE-LCHlch(38.18, 53.37, 133.01°)
OKLaboklab(45.51% -0.1003 0.0868)
OKLCHoklch(45.51% 0.133 139.1)
XYZxyz(5.8263, 10.1916, 2.1903)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286711 #501167
analogous
#536711 #286711 #116725
triadic
#286711 #112867 #671128
tetradic
#286711 #115367 #501167 #672511
square
#286711 #115367 #501167 #672511
split-complementary
#286711 #251167 #671153
monochromatic
#0A1A04 #143208 #286711 #3C9C1A #51D022

Accessibility & contrast

On white

6.91
#286711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#286711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286711
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286711#FFFFFF#000000##FFFFFF
##2867111.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#216357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #286711;
/* rgb */ color: rgb(40, 103, 17);
/* oklch */ color: oklch(45.5% 0.133 139.1);
Tailwind
colors: {
  custom: {
    50: '#6b9357',
    500: '#286711',
    950: '#000000',
  },
}
SCSS
$custom: #286711;
$custom-light: #6b9357;
$custom-dark: #000000;
JSON
{
  "hex": "#286711",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 103.953,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45509,
    "c": 0.13263,
    "h": 139.1
  },
  "luminance": 0.10192
}

Semantic roles & 50–950 ramp

primary
#286711
secondary
#83359F
accent
#39EEBE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #286711

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

Preview Lab → · Contrast checker → · Palette generator →

#286711 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva