#285B19#285B19

#285B19 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.111 H 139.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#285B19
RGBrgb(40, 91, 25)
HSLhsl(106, 57%, 23%)
HSVhsv(106, 73%, 36%)
CMYKcmyk(56%, 0%, 72.5%, 64.3%)
CIE-LABlab(33.99, -30.77, 31.62)
CIE-LCHlch(33.99, 44.12, 134.22°)
OKLaboklab(42.07% -0.0846 0.0725)
OKLCHoklch(42.07% 0.111 139.4)
XYZxyz(4.7914, 8.0031, 2.2118)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B19 #4C195B
analogous
#495B19 #285B19 #195B2B
triadic
#285B19 #19285B #5B1928
tetradic
#285B19 #19495B #4C195B #5B2B19
square
#285B19 #19495B #4C195B #5B2B19
split-complementary
#285B19 #2B195B #5B1949
monochromatic
#0B1807 #132B0C #285B19 #3D8B26 #52BB33

Accessibility & contrast

On white

8.08
#285B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#285B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B19
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B19#FFFFFF#000000##FFFFFF
##285B191.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5310
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#23584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b19;
/* rgb */ color: rgb(40, 91, 25);
/* oklch */ color: oklch(42.1% 0.111 139.4);
Tailwind
colors: {
  custom: {
    50: '#688a59',
    500: '#285b19',
    950: '#000000',
  },
}
SCSS
$custom: #285b19;
$custom-light: #688a59;
$custom-dark: #000000;
JSON
{
  "hex": "#285b19",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 106.364,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42068,
    "c": 0.11138,
    "h": 139.4
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#285B19
secondary
#7E3F91
accent
#48E0BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #285B19

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

Preview Lab → · Contrast checker → · Palette generator →

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