#285B41#285B41

#285B41 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.8% C 0.071 H 159.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#285B41
RGBrgb(40, 91, 65)
HSLhsl(149, 39%, 26%)
HSVhsv(149, 56%, 36%)
CMYKcmyk(56%, 0%, 28.6%, 64.3%)
CIE-LABlab(34.63, -24.02, 9.89)
CIE-LCHlch(34.63, 25.98, 157.62°)
OKLaboklab(42.8% -0.0659 0.0252)
OKLCHoklch(42.8% 0.071 159.1)
XYZxyz(5.5698, 8.3145, 6.3113)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B41 #5B2842
analogous
#285B28 #285B41 #285B5A
triadic
#285B41 #41285B #5B4128
tetradic
#285B41 #28285B #5B2842 #5B5A28
square
#285B41 #28285B #5B2842 #5B5A28
split-complementary
#285B41 #5A285B #5B2828
monochromatic
#09150F #153023 #285B41 #3B865F #4DB07E

Accessibility & contrast

On white

7.89
#285B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285B41
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B41#FFFFFF#000000##FFFFFF
##285B411.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5540
Deuteranopia (green-blind)
#534F43
Tritanopia (blue-blind)
#185B54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285b41;
/* rgb */ color: rgb(40, 91, 65);
/* oklch */ color: oklch(42.8% 0.071 159.1);
Tailwind
colors: {
  custom: {
    50: '#668a75',
    500: '#285b41',
    950: '#000000',
  },
}
SCSS
$custom: #285b41;
$custom-light: #668a75;
$custom-dark: #000000;
JSON
{
  "hex": "#285b41",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 65
  },
  "hsl": {
    "h": 149.412,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.42801,
    "c": 0.07061,
    "h": 159.1
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#285B41
secondary
#8E5170
accent
#5995CF
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #285B41

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

Preview Lab → · Contrast checker → · Palette generator →

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