#286015#286015

#286015 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.5% C 0.121 H 139.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#286015
RGBrgb(40, 96, 21)
HSLhsl(105, 64%, 23%)
HSVhsv(105, 78%, 38%)
CMYKcmyk(58.3%, 0%, 78.1%, 62.4%)
CIE-LABlab(35.73, -33.26, 35.16)
CIE-LCHlch(35.73, 48.40, 133.41°)
OKLaboklab(43.5% -0.0916 0.0793)
OKLCHoklch(43.5% 0.121 139.1)
XYZxyz(5.1931, 8.8706, 2.1479)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286015 #4D1560
analogous
#4D6015 #286015 #156027
triadic
#286015 #152860 #601528
tetradic
#286015 #154D60 #4D1560 #602715
square
#286015 #154D60 #4D1560 #602715
split-complementary
#286015 #271560 #60154D
monochromatic
#0A1905 #132E0A #286015 #3D9220 #52C42B

Accessibility & contrast

On white

7.57
#286015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#286015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286015
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286015#FFFFFF#000000##FFFFFF
##2860151.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635707
Deuteranopia (green-blind)
#5C521D
Tritanopia (blue-blind)
#225D51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #286015;
/* rgb */ color: rgb(40, 96, 21);
/* oklch */ color: oklch(43.5% 0.121 139.1);
Tailwind
colors: {
  custom: {
    50: '#698e58',
    500: '#286015',
    950: '#000000',
  },
}
SCSS
$custom: #286015;
$custom-light: #698e58;
$custom-dark: #000000;
JSON
{
  "hex": "#286015",
  "rgb": {
    "r": 40,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 104.8,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.12116,
    "h": 139.1
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#286015
secondary
#803A97
accent
#41E7BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #286015

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

Preview Lab → · Contrast checker → · Palette generator →

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