#285C2A#285C2A

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

Color values

HEX#285C2A
RGBrgb(40, 92, 42)
HSLhsl(122, 39%, 26%)
HSVhsv(122, 57%, 36%)
CMYKcmyk(56.5%, 0%, 54.3%, 63.9%)
CIE-LABlab(34.54, -29.03, 23.45)
CIE-LCHlch(34.54, 37.32, 141.07°)
OKLaboklab(42.59% -0.0788 0.0566)
OKLCHoklch(42.59% 0.097 144.3)
XYZxyz(5.1199, 8.2722, 3.5169)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C2A #5C285A
analogous
#405C28 #285C2A #285C44
triadic
#285C2A #2A285C #5C2A28
tetradic
#285C2A #28405C #5C285A #5C4428
square
#285C2A #28405C #5C285A #5C4428
split-complementary
#285C2A #44285C #5C2840
monochromatic
#09150A #153117 #285C2A #3B873D #4DB151

Accessibility & contrast

On white

7.91
#285C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285C2A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C2A#FFFFFF#000000##FFFFFF
##285C2A1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5426
Deuteranopia (green-blind)
#574F2D
Tritanopia (blue-blind)
#205A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c2a;
/* rgb */ color: rgb(40, 92, 42);
/* oklch */ color: oklch(42.6% 0.097 144.3);
Tailwind
colors: {
  custom: {
    50: '#678b65',
    500: '#285c2a',
    950: '#000000',
  },
}
SCSS
$custom: #285c2a;
$custom-light: #678b65;
$custom-dark: #000000;
JSON
{
  "hex": "#285c2a",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 122.308,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.09703,
    "h": 144.3
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#285C2A
secondary
#8F518C
accent
#59CBCF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #285C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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