#286512#286512

#286512 is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.9% C 0.130 H 139.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#286512
RGBrgb(40, 101, 18)
HSLhsl(104, 70%, 23%)
HSVhsv(104, 82%, 40%)
CMYKcmyk(60.4%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.48, -35.54, 38.01)
CIE-LCHlch(37.48, 52.04, 133.07°)
OKLaboklab(44.93% -0.0979 0.0848)
OKLCHoklch(44.93% 0.13 139.1)
XYZxyz(5.6377, 9.8017, 2.1670)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286512 #4F1265
analogous
#516512 #286512 #126525
triadic
#286512 #122865 #651228
tetradic
#286512 #125165 #4F1265 #652512
square
#286512 #125165 #4F1265 #652512
split-complementary
#286512 #251265 #651251
monochromatic
#0A1A05 #133109 #286512 #3D991B #51CD25

Accessibility & contrast

On white

7.09
#286512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#286512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286512
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286512#FFFFFF#000000##FFFFFF
##2865121.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61561B
Tritanopia (blue-blind)
#216155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #286512;
/* rgb */ color: rgb(40, 101, 18);
/* oklch */ color: oklch(44.9% 0.130 139.1);
Tailwind
colors: {
  custom: {
    50: '#6a9157',
    500: '#286512',
    950: '#000000',
  },
}
SCSS
$custom: #286512;
$custom-light: #6a9157;
$custom-dark: #000000;
JSON
{
  "hex": "#286512",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 104.096,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.12954,
    "h": 139.1
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#286512
secondary
#82369D
accent
#3BEDBE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #286512

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

Preview Lab → · Contrast checker → · Palette generator →

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