#285C2D#285C2D

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

Color values

HEX#285C2D
RGBrgb(40, 92, 45)
HSLhsl(126, 39%, 26%)
HSVhsv(126, 57%, 36%)
CMYKcmyk(56.5%, 0%, 51.1%, 63.9%)
CIE-LABlab(34.59, -28.54, 21.80)
CIE-LCHlch(34.59, 35.91, 142.62°)
OKLaboklab(42.64% -0.0774 0.053)
OKLCHoklch(42.64% 0.094 145.6)
XYZxyz(5.1756, 8.2944, 3.8104)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C2D #5C2857
analogous
#3D5C28 #285C2D #285C47
triadic
#285C2D #2D285C #5C2D28
tetradic
#285C2D #283D5C #5C2857 #5C4728
square
#285C2D #283D5C #5C2857 #5C4728
split-complementary
#285C2D #47285C #5C283D
monochromatic
#09150A #153118 #285C2D #3B8742 #4DB157

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285C2D#FFFFFF#000000##FFFFFF
##285C2D1.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)
#5D5429
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#1F5A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c2d;
/* rgb */ color: rgb(40, 92, 45);
/* oklch */ color: oklch(42.6% 0.094 145.6);
Tailwind
colors: {
  custom: {
    50: '#678b67',
    500: '#285c2d',
    950: '#000000',
  },
}
SCSS
$custom: #285c2d;
$custom-light: #678b67;
$custom-dark: #000000;
JSON
{
  "hex": "#285c2d",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 45
  },
  "hsl": {
    "h": 125.769,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.09385,
    "h": 145.6
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#285C2D
secondary
#8F5189
accent
#59C4CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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