#286520#286520

#286520 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.1% C 0.120 H 141.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#286520
RGBrgb(40, 101, 32)
HSLhsl(113, 52%, 26%)
HSVhsv(113, 68%, 40%)
CMYKcmyk(60.4%, 0%, 68.3%, 60.4%)
CIE-LABlab(37.59, -34.28, 32.23)
CIE-LCHlch(37.59, 47.06, 136.76°)
OKLaboklab(45.06% -0.0936 0.0747)
OKLCHoklch(45.06% 0.12 141.4)
XYZxyz(5.7892, 9.8623, 2.9648)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286520 #5D2065
analogous
#4A6520 #286520 #20653A
triadic
#286520 #202865 #652028
tetradic
#286520 #204A65 #5D2065 #653A20
square
#286520 #204A65 #5D2065 #653A20
split-complementary
#286520 #3A2065 #65204A
monochromatic
#091707 #163711 #286520 #3A932F #4DC23E

Accessibility & contrast

On white

7.06
#286520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#286520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286520
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286520#FFFFFF#000000##FFFFFF
##2865201.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C18
Deuteranopia (green-blind)
#605626
Tritanopia (blue-blind)
#206257
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #286520;
/* rgb */ color: rgb(40, 101, 32);
/* oklch */ color: oklch(45.1% 0.120 141.4);
Tailwind
colors: {
  custom: {
    50: '#69915f',
    500: '#286520',
    950: '#000000',
  },
}
SCSS
$custom: #286520;
$custom-light: #69915f;
$custom-dark: #000000;
JSON
{
  "hex": "#286520",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 32
  },
  "hsl": {
    "h": 113.043,
    "s": 51.88,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45059,
    "c": 0.11976,
    "h": 141.4
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#286520
secondary
#904899
accent
#4CDBCB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286520

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

Preview Lab → · Contrast checker → · Palette generator →

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