#285C3E#285C3E

#285C3E is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.075 H 156.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#285C3E
RGBrgb(40, 92, 62)
HSLhsl(145, 39%, 26%)
HSVhsv(145, 57%, 36%)
CMYKcmyk(56.5%, 0%, 32.6%, 63.9%)
CIE-LABlab(34.91, -25.21, 12.11)
CIE-LCHlch(34.91, 27.97, 154.33°)
OKLaboklab(43.01% -0.0688 0.0307)
OKLCHoklch(43.01% 0.075 156)
XYZxyz(5.5713, 8.4527, 5.8944)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C3E #5C2846
analogous
#2C5C28 #285C3E #285C58
triadic
#285C3E #3E285C #5C3E28
tetradic
#285C3E #282C5C #5C2846 #5C5828
square
#285C3E #282C5C #5C2846 #5C5828
split-complementary
#285C3E #58285C #5C282C
monochromatic
#09150E #153121 #285C3E #3B875B #4DB177

Accessibility & contrast

On white

7.80
#285C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#285C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C3E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C3E#FFFFFF#000000##FFFFFF
##285C3E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C553C
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#195B54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285c3e;
/* rgb */ color: rgb(40, 92, 62);
/* oklch */ color: oklch(43.0% 0.075 156.0);
Tailwind
colors: {
  custom: {
    50: '#668a73',
    500: '#285c3e',
    950: '#000000',
  },
}
SCSS
$custom: #285c3e;
$custom-light: #668a73;
$custom-dark: #000000;
JSON
{
  "hex": "#285c3e",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 62
  },
  "hsl": {
    "h": 145.385,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.43006,
    "c": 0.07534,
    "h": 156
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#285C3E
secondary
#8F5175
accent
#599DCF
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #285C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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