#285A11#285A11

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

Color values

HEX#285A11
RGBrgb(40, 90, 17)
HSLhsl(101, 68%, 21%)
HSVhsv(101, 81%, 35%)
CMYKcmyk(55.6%, 0%, 81.1%, 64.7%)
CIE-LABlab(33.57, -31.03, 34.59)
CIE-LCHlch(33.57, 46.47, 131.89°)
OKLaboklab(41.7% -0.0858 0.0775)
OKLCHoklch(41.7% 0.116 137.9)
XYZxyz(4.6323, 7.8036, 1.7923)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A11 #43115A
analogous
#4C5A11 #285A11 #115A1E
triadic
#285A11 #11285A #5A1128
tetradic
#285A11 #114C5A #43115A #5A1E11
square
#285A11 #114C5A #43115A #5A1E11
split-complementary
#285A11 #1E115A #5A114C
monochromatic
#0B1A05 #112707 #285A11 #3F8D1B #56C124

Accessibility & contrast

On white

8.20
#285A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285A11
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A11#FFFFFF#000000##FFFFFF
##285A111.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5203
Deuteranopia (green-blind)
#574D19
Tritanopia (blue-blind)
#24574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285a11;
/* rgb */ color: rgb(40, 90, 17);
/* oklch */ color: oklch(41.7% 0.116 137.9);
Tailwind
colors: {
  custom: {
    50: '#688955',
    500: '#285a11',
    950: '#000000',
  },
}
SCSS
$custom: #285a11;
$custom-light: #688955;
$custom-dark: #000000;
JSON
{
  "hex": "#285a11",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 101.096,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.11565,
    "h": 137.9
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#285A11
secondary
#753493
accent
#3DEBB4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #285A11

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

Preview Lab → · Contrast checker → · Palette generator →

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