#285A3D#285A3D

#285A3D is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.4% C 0.073 H 156.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#285A3D
RGBrgb(40, 90, 61)
HSLhsl(145, 38%, 25%)
HSVhsv(145, 56%, 35%)
CMYKcmyk(55.6%, 0%, 32.2%, 64.7%)
CIE-LABlab(34.19, -24.44, 11.74)
CIE-LCHlch(34.19, 27.12, 154.34°)
OKLaboklab(42.41% -0.0668 0.0298)
OKLCHoklch(42.41% 0.073 156)
XYZxyz(5.3731, 8.0999, 5.6943)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A3D #5A2845
analogous
#2C5A28 #285A3D #285A56
triadic
#285A3D #3D285A #5A3D28
tetradic
#285A3D #282C5A #5A2845 #5A5628
square
#285A3D #282C5A #5A2845 #5A5628
split-complementary
#285A3D #56285A #5A282C
monochromatic
#09150E #153020 #285A3D #3B845A #4EAF76

Accessibility & contrast

On white

8.02
#285A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#285A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A3D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A3D#FFFFFF#000000##FFFFFF
##285A3D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A533B
Deuteranopia (green-blind)
#524E3F
Tritanopia (blue-blind)
#1A5952
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285a3d;
/* rgb */ color: rgb(40, 90, 61);
/* oklch */ color: oklch(42.4% 0.073 156.0);
Tailwind
colors: {
  custom: {
    50: '#668972',
    500: '#285a3d',
    950: '#000000',
  },
}
SCSS
$custom: #285a3d;
$custom-light: #668972;
$custom-dark: #000000;
JSON
{
  "hex": "#285a3d",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 61
  },
  "hsl": {
    "h": 145.2,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.0731,
    "h": 156
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#285A3D
secondary
#8D5174
accent
#599DCE
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #285A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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