#286312#286312

#286312 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.3% C 0.127 H 138.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#286312
RGBrgb(40, 99, 18)
HSLhsl(104, 69%, 23%)
HSVhsv(104, 82%, 39%)
CMYKcmyk(59.6%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.78, -34.73, 37.33)
CIE-LCHlch(36.78, 50.99, 132.93°)
OKLaboklab(44.35% -0.0957 0.0834)
OKLCHoklch(44.35% 0.127 138.9)
XYZxyz(5.4459, 9.4180, 2.1030)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286312 #4D1263
analogous
#506312 #286312 #126325
triadic
#286312 #122863 #631228
tetradic
#286312 #125063 #4D1263 #632512
square
#286312 #125063 #4D1263 #632512
split-complementary
#286312 #251263 #631250
monochromatic
#0A1A05 #132F09 #286312 #3D971B #52CB25

Accessibility & contrast

On white

7.28
#286312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#286312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286312
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286312#FFFFFF#000000##FFFFFF
##2863121.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A01
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#225F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286312;
/* rgb */ color: rgb(40, 99, 18);
/* oklch */ color: oklch(44.3% 0.127 138.9);
Tailwind
colors: {
  custom: {
    50: '#6a9057',
    500: '#286312',
    950: '#000000',
  },
}
SCSS
$custom: #286312;
$custom-light: #6a9057;
$custom-dark: #000000;
JSON
{
  "hex": "#286312",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 103.704,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44349,
    "c": 0.12696,
    "h": 138.9
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#286312
secondary
#80369B
accent
#3CECBC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #286312

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

Preview Lab → · Contrast checker → · Palette generator →

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