#285E39#285E39

#285E39 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.084 H 151.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#285E39
RGBrgb(40, 94, 57)
HSLhsl(139, 40%, 26%)
HSVhsv(139, 57%, 37%)
CMYKcmyk(57.4%, 0%, 39.4%, 63.1%)
CIE-LABlab(35.50, -27.24, 15.94)
CIE-LCHlch(35.50, 31.56, 149.67°)
OKLaboklab(43.46% -0.0739 0.0399)
OKLCHoklch(43.46% 0.084 151.7)
XYZxyz(5.6159, 8.7514, 5.2634)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E39 #5E284D
analogous
#325E28 #285E39 #285E54
triadic
#285E39 #39285E #5E3928
tetradic
#285E39 #28325E #5E284D #5E5428
square
#285E39 #28325E #5E284D #5E5428
split-complementary
#285E39 #54285E #5E2832
monochromatic
#09150D #16331F #285E39 #3A8953 #4DB36D

Accessibility & contrast

On white

7.64
#285E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#285E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E39
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E39#FFFFFF#000000##FFFFFF
##285E391.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5737
Deuteranopia (green-blind)
#57513B
Tritanopia (blue-blind)
#1B5D55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285e39;
/* rgb */ color: rgb(40, 94, 57);
/* oklch */ color: oklch(43.5% 0.084 151.7);
Tailwind
colors: {
  custom: {
    50: '#678c6f',
    500: '#285e39',
    950: '#000000',
  },
}
SCSS
$custom: #285e39;
$custom-light: #678c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#285e39",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 57
  },
  "hsl": {
    "h": 138.889,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.43456,
    "c": 0.08401,
    "h": 151.7
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#285E39
secondary
#91517D
accent
#58AAD0
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #285E39

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

Preview Lab → · Contrast checker → · Palette generator →

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