#285A16#285A16

#285A16 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.112 H 138.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#285A16
RGBrgb(40, 90, 22)
HSLhsl(104, 61%, 22%)
HSVhsv(104, 76%, 35%)
CMYKcmyk(55.6%, 0%, 75.6%, 64.7%)
CIE-LABlab(33.61, -30.62, 32.57)
CIE-LCHlch(33.61, 44.70, 133.23°)
OKLaboklab(41.75% -0.0844 0.0741)
OKLCHoklch(41.75% 0.112 138.7)
XYZxyz(4.6759, 7.8210, 2.0221)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A16 #48165A
analogous
#4A5A16 #285A16 #165A26
triadic
#285A16 #16285A #5A1628
tetradic
#285A16 #164A5A #48165A #5A2616
square
#285A16 #164A5A #48165A #5A2616
split-complementary
#285A16 #26165A #5A164A
monochromatic
#0B1906 #12290A #285A16 #3E8B22 #54BC2E

Accessibility & contrast

On white

8.19
#285A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#285A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A16
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A16#FFFFFF#000000##FFFFFF
##285A161.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520B
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#24574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285a16;
/* rgb */ color: rgb(40, 90, 22);
/* oklch */ color: oklch(41.7% 0.112 138.7);
Tailwind
colors: {
  custom: {
    50: '#688958',
    500: '#285a16',
    950: '#000000',
  },
}
SCSS
$custom: #285a16;
$custom-light: #688958;
$custom-dark: #000000;
JSON
{
  "hex": "#285a16",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 104.118,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41745,
    "c": 0.11226,
    "h": 138.7
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#285A16
secondary
#7A3B91
accent
#44E4BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285A16

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

Preview Lab → · Contrast checker → · Palette generator →

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