#285E20#285E20

#285E20 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.110 H 141.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#285E20
RGBrgb(40, 94, 32)
HSLhsl(112, 49%, 25%)
HSVhsv(112, 66%, 37%)
CMYKcmyk(57.4%, 0%, 66%, 63.1%)
CIE-LABlab(35.12, -31.30, 29.48)
CIE-LCHlch(35.12, 43.00, 136.72°)
OKLaboklab(43.02% -0.0855 0.0688)
OKLCHoklch(43.02% 0.11 141.2)
XYZxyz(5.1382, 8.5604, 2.7478)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E20 #56205E
analogous
#475E20 #285E20 #205E37
triadic
#285E20 #20285E #5E2028
tetradic
#285E20 #20475E #56205E #5E3720
square
#285E20 #20475E #56205E #5E3720
split-complementary
#285E20 #37205E #5E2047
monochromatic
#0A1708 #153010 #285E20 #3B8C30 #4FB93F

Accessibility & contrast

On white

7.74
#285E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#285E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E20
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E20#FFFFFF#000000##FFFFFF
##285E201.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605519
Deuteranopia (green-blind)
#595125
Tritanopia (blue-blind)
#215B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285e20;
/* rgb */ color: rgb(40, 94, 32);
/* oklch */ color: oklch(43.0% 0.110 141.2);
Tailwind
colors: {
  custom: {
    50: '#688c5e',
    500: '#285e20',
    950: '#000000',
  },
}
SCSS
$custom: #285e20;
$custom-light: #688c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#285e20",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 32
  },
  "hsl": {
    "h": 112.258,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.43024,
    "c": 0.10979,
    "h": 141.2
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#285E20
secondary
#894792
accent
#4FD9C7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #285E20

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

Preview Lab → · Contrast checker → · Palette generator →

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