#286615#286615

#286615 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.129 H 139.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#286615
RGBrgb(40, 102, 21)
HSLhsl(106, 66%, 24%)
HSVhsv(106, 79%, 40%)
CMYKcmyk(60.8%, 0%, 79.4%, 60%)
CIE-LABlab(37.86, -35.72, 37.27)
CIE-LCHlch(37.86, 51.63, 133.79°)
OKLaboklab(45.25% -0.0982 0.0837)
OKLCHoklch(45.25% 0.129 139.6)
XYZxyz(5.7616, 10.0075, 2.3373)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286615 #531566
analogous
#516615 #286615 #15662B
triadic
#286615 #152866 #661528
tetradic
#286615 #155166 #531566 #662B15
square
#286615 #155166 #531566 #662B15
split-complementary
#286615 #2B1566 #661551
monochromatic
#0A1905 #14330B #286615 #3C991F #50CC2A

Accessibility & contrast

On white

7.00
#286615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#286615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286615
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286615#FFFFFF#000000##FFFFFF
##2866151.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C05
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#216257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #286615;
/* rgb */ color: rgb(40, 102, 21);
/* oklch */ color: oklch(45.2% 0.129 139.6);
Tailwind
colors: {
  custom: {
    50: '#6a9259',
    500: '#286615',
    950: '#000000',
  },
}
SCSS
$custom: #286615;
$custom-light: #6a9259;
$custom-dark: #000000;
JSON
{
  "hex": "#286615",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 105.926,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.12907,
    "h": 139.6
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#286615
secondary
#863A9D
accent
#3FE9C1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286615

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

Preview Lab → · Contrast checker → · Palette generator →

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