#285B10#285B10

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

Color values

HEX#285B10
RGBrgb(40, 91, 16)
HSLhsl(101, 70%, 21%)
HSVhsv(101, 82%, 36%)
CMYKcmyk(56%, 0%, 82.4%, 64.3%)
CIE-LABlab(33.92, -31.53, 35.31)
CIE-LCHlch(33.92, 47.34, 131.77°)
OKLaboklab(41.99% -0.0873 0.0788)
OKLCHoklch(41.99% 0.118 137.9)
XYZxyz(4.7095, 7.9703, 1.7804)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B10 #43105B
analogous
#4D5B10 #285B10 #105B1D
triadic
#285B10 #10285B #5B1028
tetradic
#285B10 #104D5B #43105B #5B1D10
square
#285B10 #104D5B #43105B #5B1D10
split-complementary
#285B10 #1D105B #5B104D
monochromatic
#0B1A05 #112707 #285B10 #3F8F19 #56C322

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285B10#FFFFFF#000000##FFFFFF
##285B101.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)
#5E5201
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#24584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b10;
/* rgb */ color: rgb(40, 91, 16);
/* oklch */ color: oklch(42.0% 0.118 137.9);
Tailwind
colors: {
  custom: {
    50: '#688a55',
    500: '#285b10',
    950: '#000000',
  },
}
SCSS
$custom: #285b10;
$custom-light: #688a55;
$custom-dark: #000000;
JSON
{
  "hex": "#285b10",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 100.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4199,
    "c": 0.1176,
    "h": 137.9
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#285B10
secondary
#753394
accent
#3BEDB4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285B10

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

Preview Lab → · Contrast checker → · Palette generator →

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