#286412#286412

#286412 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.6% C 0.128 H 139.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#286412
RGBrgb(40, 100, 18)
HSLhsl(104, 69%, 23%)
HSVhsv(104, 82%, 39%)
CMYKcmyk(60%, 0%, 82%, 60.8%)
CIE-LABlab(37.13, -35.14, 37.67)
CIE-LCHlch(37.13, 51.52, 133.00°)
OKLaboklab(44.64% -0.0968 0.0841)
OKLCHoklch(44.64% 0.128 139)
XYZxyz(5.5412, 9.6087, 2.1348)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286412 #4E1264
analogous
#516412 #286412 #126425
triadic
#286412 #122864 #641228
tetradic
#286412 #125164 #4E1264 #642512
square
#286412 #125164 #4E1264 #642512
split-complementary
#286412 #251264 #641251
monochromatic
#0A1A05 #133009 #286412 #3D981B #51CC25

Accessibility & contrast

On white

7.19
#286412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#286412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286412
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286412#FFFFFF#000000##FFFFFF
##2864121.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#60551B
Tritanopia (blue-blind)
#226055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286412;
/* rgb */ color: rgb(40, 100, 18);
/* oklch */ color: oklch(44.6% 0.128 139.0);
Tailwind
colors: {
  custom: {
    50: '#6a9157',
    500: '#286412',
    950: '#000000',
  },
}
SCSS
$custom: #286412;
$custom-light: #6a9157;
$custom-dark: #000000;
JSON
{
  "hex": "#286412",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 103.902,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.12825,
    "h": 139
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#286412
secondary
#81369C
accent
#3BECBD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #286412

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

Preview Lab → · Contrast checker → · Palette generator →

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