#286310#286310

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

Color values

HEX#286310
RGBrgb(40, 99, 16)
HSLhsl(103, 72%, 23%)
HSVhsv(103, 84%, 39%)
CMYKcmyk(59.6%, 0%, 83.8%, 61.2%)
CIE-LABlab(36.77, -34.86, 38.02)
CIE-LCHlch(36.77, 51.59, 132.52°)
OKLaboklab(44.34% -0.0962 0.0845)
OKLCHoklch(44.34% 0.128 138.7)
XYZxyz(5.4302, 9.4118, 2.0206)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286310 #4B1063
analogous
#516310 #286310 #106322
triadic
#286310 #102863 #631028
tetradic
#286310 #105163 #4B1063 #632210
square
#286310 #105163 #4B1063 #632210
split-complementary
#286310 #221063 #631051
monochromatic
#0B1A04 #132E07 #286310 #3D9819 #53CC21

Accessibility & contrast

On white

7.29
#286310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #286310
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286310#FFFFFF#000000##FFFFFF
##2863101.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#225F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286310;
/* rgb */ color: rgb(40, 99, 16);
/* oklch */ color: oklch(44.3% 0.128 138.7);
Tailwind
colors: {
  custom: {
    50: '#6a9056',
    500: '#286310',
    950: '#000000',
  },
}
SCSS
$custom: #286310;
$custom-light: #6a9056;
$custom-dark: #000000;
JSON
{
  "hex": "#286310",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 102.651,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44335,
    "c": 0.12806,
    "h": 138.7
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#286310
secondary
#7D339C
accent
#39EFBA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #286310

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

Preview Lab → · Contrast checker → · Palette generator →

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