#285C28#285C28

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

Color values

HEX#285C28
RGBrgb(40, 92, 40)
HSLhsl(120, 39%, 26%)
HSVhsv(120, 57%, 36%)
CMYKcmyk(56.5%, 0%, 56.5%, 63.9%)
CIE-LABlab(34.51, -29.33, 24.53)
CIE-LCHlch(34.51, 38.24, 140.10°)
OKLaboklab(42.56% -0.0797 0.0588)
OKLCHoklch(42.56% 0.099 143.6)
XYZxyz(5.0850, 8.2582, 3.3331)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C28 #5C285C
analogous
#425C28 #285C28 #285C42
triadic
#285C28 #28285C #5C2828
tetradic
#285C28 #28425C #5C285C #5C4228
square
#285C28 #28425C #5C285C #5C4228
split-complementary
#285C28 #42285C #5C2842
monochromatic
#091509 #153115 #285C28 #3B873B #4DB14D

Accessibility & contrast

On white

7.92
#285C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285C28
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C28#FFFFFF#000000##FFFFFF
##285C281.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #285c28;
/* rgb */ color: rgb(40, 92, 40);
/* oklch */ color: oklch(42.6% 0.099 143.6);
Tailwind
colors: {
  custom: {
    50: '#678b63',
    500: '#285c28',
    950: '#000000',
  },
}
SCSS
$custom: #285c28;
$custom-light: #678b63;
$custom-dark: #000000;
JSON
{
  "hex": "#285c28",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42555,
    "c": 0.0991,
    "h": 143.6
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#285C28
secondary
#8F518F
accent
#59CFCF
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #285C28

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

Preview Lab → · Contrast checker → · Palette generator →

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