#285A19#285A19

#285A19 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.110 H 139.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#285A19
RGBrgb(40, 90, 25)
HSLhsl(106, 57%, 23%)
HSVhsv(106, 72%, 35%)
CMYKcmyk(55.6%, 0%, 72.2%, 64.7%)
CIE-LABlab(33.63, -30.33, 31.24)
CIE-LCHlch(33.63, 43.54, 134.15°)
OKLaboklab(41.78% -0.0834 0.0717)
OKLCHoklch(41.78% 0.11 139.3)
XYZxyz(4.7065, 7.8333, 2.1835)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A19 #4B195A
analogous
#485A19 #285A19 #195A2B
triadic
#285A19 #19285A #5A1928
tetradic
#285A19 #19485A #4B195A #5A2B19
square
#285A19 #19485A #4B195A #5A2B19
split-complementary
#285A19 #2B195A #5A1948
monochromatic
#0B1807 #132A0C #285A19 #3D8A26 #53BA34

Accessibility & contrast

On white

8.18
#285A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#285A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A19
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A19#FFFFFF#000000##FFFFFF
##285A191.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5210
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#23574D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285a19;
/* rgb */ color: rgb(40, 90, 25);
/* oklch */ color: oklch(41.8% 0.110 139.3);
Tailwind
colors: {
  custom: {
    50: '#688959',
    500: '#285a19',
    950: '#000000',
  },
}
SCSS
$custom: #285a19;
$custom-light: #688959;
$custom-dark: #000000;
JSON
{
  "hex": "#285a19",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 106.154,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41775,
    "c": 0.10996,
    "h": 139.3
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#285A19
secondary
#7D3E90
accent
#48E0BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #285A19

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

Preview Lab → · Contrast checker → · Palette generator →

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