#285B11#285B11

#285B11 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.117 H 138.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#285B11
RGBrgb(40, 91, 17)
HSLhsl(101, 69%, 21%)
HSVhsv(101, 81%, 36%)
CMYKcmyk(56%, 0%, 81.3%, 64.3%)
CIE-LABlab(33.93, -31.46, 34.94)
CIE-LCHlch(33.93, 47.01, 132.00°)
OKLaboklab(42% -0.087 0.0782)
OKLCHoklch(42% 0.117 138)
XYZxyz(4.7172, 7.9734, 1.8207)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B11 #44115B
analogous
#4D5B11 #285B11 #115B1F
triadic
#285B11 #11285B #5B1128
tetradic
#285B11 #114D5B #44115B #5B1F11
square
#285B11 #114D5B #44115B #5B1F11
split-complementary
#285B11 #1F115B #5B114D
monochromatic
#0B1A05 #112707 #285B11 #3F8F1B #55C224

Accessibility & contrast

On white

8.09
#285B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#285B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B11
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B11#FFFFFF#000000##FFFFFF
##285B111.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5203
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#24584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b11;
/* rgb */ color: rgb(40, 91, 17);
/* oklch */ color: oklch(42.0% 0.117 138.0);
Tailwind
colors: {
  custom: {
    50: '#688a55',
    500: '#285b11',
    950: '#000000',
  },
}
SCSS
$custom: #285b11;
$custom-light: #688a55;
$custom-dark: #000000;
JSON
{
  "hex": "#285b11",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 101.351,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41997,
    "c": 0.117,
    "h": 138
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#285B11
secondary
#763494
accent
#3CEBB5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285B11

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

Preview Lab → · Contrast checker → · Palette generator →

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