#285C2C#285C2C

#285C2C is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.095 H 145.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#285C2C
RGBrgb(40, 92, 44)
HSLhsl(125, 39%, 26%)
HSVhsv(125, 57%, 36%)
CMYKcmyk(56.5%, 0%, 52.2%, 63.9%)
CIE-LABlab(34.57, -28.71, 22.36)
CIE-LCHlch(34.57, 36.38, 142.09°)
OKLaboklab(42.62% -0.0779 0.0542)
OKLCHoklch(42.62% 0.095 145.2)
XYZxyz(5.1565, 8.2868, 3.7102)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C2C #5C2858
analogous
#3E5C28 #285C2C #285C46
triadic
#285C2C #2C285C #5C2C28
tetradic
#285C2C #283E5C #5C2858 #5C4628
square
#285C2C #283E5C #5C2858 #5C4628
split-complementary
#285C2C #46285C #5C283E
monochromatic
#09150A #153118 #285C2C #3B8740 #4DB155

Accessibility & contrast

On white

7.90
#285C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#285C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C2C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C2C#FFFFFF#000000##FFFFFF
##285C2C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5428
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#1F5A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c2c;
/* rgb */ color: rgb(40, 92, 44);
/* oklch */ color: oklch(42.6% 0.095 145.2);
Tailwind
colors: {
  custom: {
    50: '#678b66',
    500: '#285c2c',
    950: '#000000',
  },
}
SCSS
$custom: #285c2c;
$custom-light: #678b66;
$custom-dark: #000000;
JSON
{
  "hex": "#285c2c",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 44
  },
  "hsl": {
    "h": 124.615,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.09492,
    "h": 145.2
  },
  "luminance": 0.08287
}

Semantic roles & 50–950 ramp

primary
#285C2C
secondary
#8F518A
accent
#59C6CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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