#285B3D#285B3D

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

Color values

HEX#285B3D
RGBrgb(40, 91, 61)
HSLhsl(145, 39%, 26%)
HSVhsv(145, 56%, 36%)
CMYKcmyk(56%, 0%, 33%, 64.3%)
CIE-LABlab(34.54, -24.94, 12.22)
CIE-LCHlch(34.54, 27.77, 153.89°)
OKLaboklab(42.7% -0.068 0.0309)
OKLCHoklch(42.7% 0.075 155.6)
XYZxyz(5.4580, 8.2697, 5.7226)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B3D #5B2846
analogous
#2C5B28 #285B3D #285B56
triadic
#285B3D #3D285B #5B3D28
tetradic
#285B3D #282C5B #5B2846 #5B5628
square
#285B3D #282C5B #5B2846 #5B5628
split-complementary
#285B3D #56285B #5B282C
monochromatic
#09150E #153021 #285B3D #3B8659 #4DB076

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285B3D#FFFFFF#000000##FFFFFF
##285B3D1.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)
#5B543B
Deuteranopia (green-blind)
#534F3F
Tritanopia (blue-blind)
#1A5A53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285b3d;
/* rgb */ color: rgb(40, 91, 61);
/* oklch */ color: oklch(42.7% 0.075 155.6);
Tailwind
colors: {
  custom: {
    50: '#668a72',
    500: '#285b3d',
    950: '#000000',
  },
}
SCSS
$custom: #285b3d;
$custom-light: #668a72;
$custom-dark: #000000;
JSON
{
  "hex": "#285b3d",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 61
  },
  "hsl": {
    "h": 144.706,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.42697,
    "c": 0.07475,
    "h": 155.6
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#285B3D
secondary
#8E5175
accent
#599ECF
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #285B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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