#286315#286315

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

Color values

HEX#286315
RGBrgb(40, 99, 21)
HSLhsl(105, 65%, 24%)
HSVhsv(105, 79%, 39%)
CMYKcmyk(59.6%, 0%, 78.8%, 61.2%)
CIE-LABlab(36.80, -34.51, 36.22)
CIE-LCHlch(36.80, 50.03, 133.61°)
OKLaboklab(44.37% -0.0949 0.0815)
OKLCHoklch(44.37% 0.125 139.3)
XYZxyz(5.4720, 9.4285, 2.2408)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286315 #501563
analogous
#4F6315 #286315 #156329
triadic
#286315 #152863 #631528
tetradic
#286315 #154F63 #501563 #632915
square
#286315 #154F63 #501563 #632915
split-complementary
#286315 #291563 #63154F
monochromatic
#0A1905 #14310A #286315 #3C9520 #51C82A

Accessibility & contrast

On white

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

On black

2.89
#286315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##286315#FFFFFF#000000##FFFFFF
##2863151.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #286315;
/* rgb */ color: rgb(40, 99, 21);
/* oklch */ color: oklch(44.4% 0.125 139.3);
Tailwind
colors: {
  custom: {
    50: '#6a9058',
    500: '#286315',
    950: '#000000',
  },
}
SCSS
$custom: #286315;
$custom-light: #6a9058;
$custom-dark: #000000;
JSON
{
  "hex": "#286315",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 105.385,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44371,
    "c": 0.12514,
    "h": 139.3
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#286315
secondary
#833A9A
accent
#40E8BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #286315

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

Preview Lab → · Contrast checker → · Palette generator →

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