#285C11#285C11

#285C11 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.118 H 138.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#285C11
RGBrgb(40, 92, 17)
HSLhsl(102, 69%, 21%)
HSVhsv(102, 82%, 36%)
CMYKcmyk(56.5%, 0%, 81.5%, 63.9%)
CIE-LABlab(34.28, -31.89, 35.29)
CIE-LCHlch(34.28, 47.56, 132.10°)
OKLaboklab(42.29% -0.0882 0.079)
OKLCHoklch(42.29% 0.118 138.1)
XYZxyz(4.8032, 8.1455, 1.8493)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C11 #45115C
analogous
#4E5C11 #285C11 #115C20
triadic
#285C11 #11285C #5C1128
tetradic
#285C11 #114E5C #45115C #5C2011
square
#285C11 #114E5C #45115C #5C2011
split-complementary
#285C11 #20115C #5C114E
monochromatic
#0B1A05 #122807 #285C11 #3E901B #55C324

Accessibility & contrast

On white

7.99
#285C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#285C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C11
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C11#FFFFFF#000000##FFFFFF
##285C111.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5302
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#24594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c11;
/* rgb */ color: rgb(40, 92, 17);
/* oklch */ color: oklch(42.3% 0.118 138.1);
Tailwind
colors: {
  custom: {
    50: '#688b55',
    500: '#285c11',
    950: '#000000',
  },
}
SCSS
$custom: #285c11;
$custom-light: #688b55;
$custom-dark: #000000;
JSON
{
  "hex": "#285c11",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 101.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42291,
    "c": 0.11834,
    "h": 138.1
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#285C11
secondary
#773495
accent
#3CECB6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285C11

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

Preview Lab → · Contrast checker → · Palette generator →

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