#285B2B#285B2B

#285B2B is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.094 H 144.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#285B2B
RGBrgb(40, 91, 43)
HSLhsl(124, 39%, 26%)
HSVhsv(124, 56%, 36%)
CMYKcmyk(56%, 0%, 52.7%, 64.3%)
CIE-LABlab(34.21, -28.41, 22.47)
CIE-LCHlch(34.21, 36.22, 141.66°)
OKLaboklab(42.32% -0.0771 0.0544)
OKLCHoklch(42.32% 0.094 144.8)
XYZxyz(5.0519, 8.1073, 3.5837)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B2B #5B2858
analogous
#3E5B28 #285B2B #285B44
triadic
#285B2B #2B285B #5B2B28
tetradic
#285B2B #283E5B #5B2858 #5B4428
square
#285B2B #283E5B #5B2858 #5B4428
split-complementary
#285B2B #44285B #5B283E
monochromatic
#09150A #153017 #285B2B #3B863F #4DB053

Accessibility & contrast

On white

8.01
#285B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#285B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B2B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B2B#FFFFFF#000000##FFFFFF
##285B2B1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5327
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#205950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b2b;
/* rgb */ color: rgb(40, 91, 43);
/* oklch */ color: oklch(42.3% 0.094 144.8);
Tailwind
colors: {
  custom: {
    50: '#678a65',
    500: '#285b2b',
    950: '#000000',
  },
}
SCSS
$custom: #285b2b;
$custom-light: #678a65;
$custom-dark: #000000;
JSON
{
  "hex": "#285b2b",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 43
  },
  "hsl": {
    "h": 123.529,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.42315,
    "c": 0.0944,
    "h": 144.8
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#285B2B
secondary
#8E518A
accent
#59C8CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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