#286F11#286F11

#286F11 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.143 H 139.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#286F11
RGBrgb(40, 111, 17)
HSLhsl(105, 73%, 25%)
HSVhsv(105, 85%, 44%)
CMYKcmyk(64%, 0%, 84.7%, 56.5%)
CIE-LABlab(40.99, -39.52, 41.66)
CIE-LCHlch(40.99, 57.42, 133.49°)
OKLaboklab(47.83% -0.1087 0.0923)
OKLCHoklch(47.83% 0.143 139.7)
XYZxyz(6.6604, 11.8598, 2.4684)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F11 #58116F
analogous
#576F11 #286F11 #116F29
triadic
#286F11 #11286F #6F1128
tetradic
#286F11 #11576F #58116F #6F2911
square
#286F11 #11576F #58116F #6F2911
split-complementary
#286F11 #29116F #6F1157
monochromatic
#0A1B04 #153A09 #286F11 #3BA419 #4ED921

Accessibility & contrast

On white

6.23
#286F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#286F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F11
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F11#FFFFFF#000000##FFFFFF
##286F111.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#1F6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f11;
/* rgb */ color: rgb(40, 111, 17);
/* oklch */ color: oklch(47.8% 0.143 139.7);
Tailwind
colors: {
  custom: {
    50: '#6c9958',
    500: '#286f11',
    950: '#000000',
  },
}
SCSS
$custom: #286f11;
$custom-light: #6c9958;
$custom-dark: #000000;
JSON
{
  "hex": "#286f11",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 105.319,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47831,
    "c": 0.14256,
    "h": 139.7
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#286F11
secondary
#8B35A6
accent
#38F0C3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #286F11

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

Preview Lab → · Contrast checker → · Palette generator →

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