#285C19#285C19

#285C19 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.113 H 139.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#285C19
RGBrgb(40, 92, 25)
HSLhsl(107, 57%, 23%)
HSVhsv(107, 73%, 36%)
CMYKcmyk(56.5%, 0%, 72.8%, 63.9%)
CIE-LABlab(34.35, -31.20, 32.00)
CIE-LCHlch(34.35, 44.69, 134.28°)
OKLaboklab(42.36% -0.0857 0.0733)
OKLCHoklch(42.36% 0.113 139.5)
XYZxyz(4.8775, 8.1752, 2.2405)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C19 #4D195C
analogous
#495C19 #285C19 #195C2B
triadic
#285C19 #19285C #5C1928
tetradic
#285C19 #19495C #4D195C #5C2B19
square
#285C19 #19495C #4D195C #5C2B19
split-complementary
#285C19 #2B195C #5C1949
monochromatic
#0A1807 #132C0C #285C19 #3D8C26 #52BC33

Accessibility & contrast

On white

7.97
#285C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#285C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C19
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C19#FFFFFF#000000##FFFFFF
##285C191.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5310
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#23594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c19;
/* rgb */ color: rgb(40, 92, 25);
/* oklch */ color: oklch(42.4% 0.113 139.5);
Tailwind
colors: {
  custom: {
    50: '#688b5a',
    500: '#285c19',
    950: '#000000',
  },
}
SCSS
$custom: #285c19;
$custom-light: #688b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#285c19",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 25
  },
  "hsl": {
    "h": 106.567,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.11279,
    "h": 139.5
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#285C19
secondary
#803F92
accent
#47E1BE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #285C19

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

Preview Lab → · Contrast checker → · Palette generator →

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