#285C24#285C24

#285C24 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.5% C 0.103 H 142.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#285C24
RGBrgb(40, 92, 36)
HSLhsl(116, 44%, 25%)
HSVhsv(116, 61%, 36%)
CMYKcmyk(56.5%, 0%, 60.9%, 63.9%)
CIE-LABlab(34.46, -29.91, 26.64)
CIE-LCHlch(34.46, 40.05, 138.30°)
OKLaboklab(42.5% -0.0815 0.0631)
OKLCHoklch(42.5% 0.103 142.2)
XYZxyz(5.0204, 8.2324, 2.9932)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C24 #58245C
analogous
#445C24 #285C24 #245C3C
triadic
#285C24 #24285C #5C2428
tetradic
#285C24 #24445C #58245C #5C3C24
square
#285C24 #24445C #58245C #5C3C24
split-complementary
#285C24 #3C245C #5C2444
monochromatic
#0A1609 #153013 #285C24 #3B8835 #4EB446

Accessibility & contrast

On white

7.93
#285C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#285C24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C24
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C24#FFFFFF#000000##FFFFFF
##285C241.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E541E
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#215950
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c24;
/* rgb */ color: rgb(40, 92, 36);
/* oklch */ color: oklch(42.5% 0.103 142.2);
Tailwind
colors: {
  custom: {
    50: '#678b60',
    500: '#285c24',
    950: '#000000',
  },
}
SCSS
$custom: #285c24;
$custom-light: #678b60;
$custom-dark: #000000;
JSON
{
  "hex": "#285c24",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 36
  },
  "hsl": {
    "h": 115.714,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42495,
    "c": 0.1031,
    "h": 142.2
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#285C24
secondary
#8B4C90
accent
#54D3CA
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #285C24

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

Preview Lab → · Contrast checker → · Palette generator →

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