#285B3E#285B3E

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

Color values

HEX#285B3E
RGBrgb(40, 91, 62)
HSLhsl(146, 39%, 26%)
HSVhsv(146, 56%, 36%)
CMYKcmyk(56%, 0%, 31.9%, 64.3%)
CIE-LABlab(34.56, -24.71, 11.64)
CIE-LCHlch(34.56, 27.32, 154.78°)
OKLaboklab(42.72% -0.0675 0.0295)
OKLCHoklch(42.72% 0.074 156.4)
XYZxyz(5.4852, 8.2806, 5.8658)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B3E #5B2845
analogous
#2C5B28 #285B3E #285B57
triadic
#285B3E #3E285B #5B3E28
tetradic
#285B3E #282C5B #5B2845 #5B5728
square
#285B3E #282C5B #5B2845 #5B5728
split-complementary
#285B3E #57285B #5B282C
monochromatic
#09150E #153021 #285B3E #3B865B #4DB078

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285B3E#FFFFFF#000000##FFFFFF
##285B3E1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B543C
Deuteranopia (green-blind)
#534F40
Tritanopia (blue-blind)
#195A53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285b3e;
/* rgb */ color: rgb(40, 91, 62);
/* oklch */ color: oklch(42.7% 0.074 156.4);
Tailwind
colors: {
  custom: {
    50: '#668a73',
    500: '#285b3e',
    950: '#000000',
  },
}
SCSS
$custom: #285b3e;
$custom-light: #668a73;
$custom-dark: #000000;
JSON
{
  "hex": "#285b3e",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 62
  },
  "hsl": {
    "h": 145.882,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.42722,
    "c": 0.0737,
    "h": 156.4
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#285B3E
secondary
#8E5174
accent
#599CCF
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #285B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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