#285A20#285A20

#285A20 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.104 H 141.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#285A20
RGBrgb(40, 90, 32)
HSLhsl(112, 48%, 24%)
HSVhsv(112, 64%, 35%)
CMYKcmyk(55.6%, 0%, 64.4%, 64.7%)
CIE-LABlab(33.71, -29.54, 27.87)
CIE-LCHlch(33.71, 40.61, 136.67°)
OKLaboklab(41.86% -0.0807 0.0654)
OKLCHoklch(41.86% 0.104 141)
XYZxyz(4.7917, 7.8674, 2.6323)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A20 #52205A
analogous
#455A20 #285A20 #205A35
triadic
#285A20 #20285A #5A2028
tetradic
#285A20 #20455A #52205A #5A3520
square
#285A20 #20455A #52205A #5A3520
split-complementary
#285A20 #35205A #5A2045
monochromatic
#0A1708 #142D10 #285A20 #3C8730 #50B440

Accessibility & contrast

On white

8.16
#285A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#285A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A20
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A20#FFFFFF#000000##FFFFFF
##285A201.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521A
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#22574D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285a20;
/* rgb */ color: rgb(40, 90, 32);
/* oklch */ color: oklch(41.9% 0.104 141.0);
Tailwind
colors: {
  custom: {
    50: '#67895e',
    500: '#285a20',
    950: '#000000',
  },
}
SCSS
$custom: #285a20;
$custom-light: #67895e;
$custom-dark: #000000;
JSON
{
  "hex": "#285a20",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 32
  },
  "hsl": {
    "h": 111.724,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.1039,
    "h": 141
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#285A20
secondary
#85478E
accent
#51D7C5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #285A20

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

Preview Lab → · Contrast checker → · Palette generator →

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