#286313#286313

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

Color values

HEX#286313
RGBrgb(40, 99, 19)
HSLhsl(104, 68%, 23%)
HSVhsv(104, 81%, 39%)
CMYKcmyk(59.6%, 0%, 80.8%, 61.2%)
CIE-LABlab(36.78, -34.66, 36.97)
CIE-LCHlch(36.78, 50.68, 133.15°)
OKLaboklab(44.36% -0.0955 0.0828)
OKLCHoklch(44.36% 0.126 139.1)
XYZxyz(5.4542, 9.4214, 2.1471)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286313 #4E1363
analogous
#506313 #286313 #136326
triadic
#286313 #132863 #631328
tetradic
#286313 #135063 #4E1363 #632613
square
#286313 #135063 #4E1363 #632613
split-complementary
#286313 #261363 #631350
monochromatic
#0A1A05 #133009 #286313 #3D961D #51CA27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286313#FFFFFF#000000##FFFFFF
##2863131.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)
#665A03
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#225F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286313;
/* rgb */ color: rgb(40, 99, 19);
/* oklch */ color: oklch(44.4% 0.126 139.1);
Tailwind
colors: {
  custom: {
    50: '#6a9057',
    500: '#286313',
    950: '#000000',
  },
}
SCSS
$custom: #286313;
$custom-light: #6a9057;
$custom-dark: #000000;
JSON
{
  "hex": "#286313",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 104.25,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44356,
    "c": 0.12637,
    "h": 139.1
  },
  "luminance": 0.09422
}

Semantic roles & 50–950 ramp

primary
#286313
secondary
#81379B
accent
#3DEBBD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #286313

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

Preview Lab → · Contrast checker → · Palette generator →

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