#285239#285239

#285239 is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.0% C 0.064 H 155.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#285239
RGBrgb(40, 82, 57)
HSLhsl(144, 34%, 24%)
HSVhsv(144, 51%, 32%)
CMYKcmyk(51.2%, 0%, 30.5%, 67.8%)
CIE-LABlab(31.30, -21.28, 10.25)
CIE-LCHlch(31.30, 23.62, 154.28°)
OKLaboklab(40.03% -0.0583 0.0261)
OKLCHoklch(40.03% 0.064 155.9)
XYZxyz(4.6305, 6.7808, 4.9349)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285239 #522841
analogous
#2C5228 #285239 #28524E
triadic
#285239 #392852 #523928
tetradic
#285239 #282C52 #522841 #524E28
square
#285239 #282C52 #522841 #524E28
split-complementary
#285239 #4E2852 #52282C
monochromatic
#0A150E #14291C #285239 #3C7B56 #50A472

Accessibility & contrast

On white

8.91
#285239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#285239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285239
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285239#FFFFFF#000000##FFFFFF
##2852391.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C38
Deuteranopia (green-blind)
#4B483A
Tritanopia (blue-blind)
#1E514B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #285239;
/* rgb */ color: rgb(40, 82, 57);
/* oklch */ color: oklch(40.0% 0.064 155.9);
Tailwind
colors: {
  custom: {
    50: '#65836f',
    500: '#285239',
    950: '#000000',
  },
}
SCSS
$custom: #285239;
$custom-light: #65836f;
$custom-dark: #000000;
JSON
{
  "hex": "#285239",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 144.286,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4003,
    "c": 0.06384,
    "h": 155.9
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#285239
secondary
#855170
accent
#5D9ECB
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#060A07
muted
#7A7C7A

Preview Lab

Preview with #285239

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

Preview Lab → · Contrast checker → · Palette generator →

#285239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva