#285B20#285B20

#285B20 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.105 H 141.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#285B20
RGBrgb(40, 91, 32)
HSLhsl(112, 48%, 24%)
HSVhsv(112, 65%, 36%)
CMYKcmyk(56%, 0%, 64.8%, 64.3%)
CIE-LABlab(34.06, -29.98, 28.27)
CIE-LCHlch(34.06, 41.21, 136.68°)
OKLaboklab(42.15% -0.082 0.0663)
OKLCHoklch(42.15% 0.105 141.1)
XYZxyz(4.8766, 8.0372, 2.6606)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B20 #53205B
analogous
#465B20 #285B20 #205B36
triadic
#285B20 #20285B #5B2028
tetradic
#285B20 #20465B #53205B #5B3620
square
#285B20 #20465B #53205B #5B3620
split-complementary
#285B20 #36205B #5B2046
monochromatic
#0A1708 #142E10 #285B20 #3C8830 #50B640

Accessibility & contrast

On white

8.05
#285B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#285B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B20
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B20#FFFFFF#000000##FFFFFF
##285B201.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531A
Deuteranopia (green-blind)
#574E25
Tritanopia (blue-blind)
#22584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b20;
/* rgb */ color: rgb(40, 91, 32);
/* oklch */ color: oklch(42.1% 0.105 141.1);
Tailwind
colors: {
  custom: {
    50: '#678a5e',
    500: '#285b20',
    950: '#000000',
  },
}
SCSS
$custom: #285b20;
$custom-light: #678a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#285b20",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 32
  },
  "hsl": {
    "h": 111.864,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.10539,
    "h": 141.1
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#285B20
secondary
#86478F
accent
#50D8C5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #285B20

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

Preview Lab → · Contrast checker → · Palette generator →

#285B20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva