#285A2B#285A2B

#285A2B is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.0% C 0.093 H 144.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#285A2B
RGBrgb(40, 90, 43)
HSLhsl(124, 38%, 25%)
HSVhsv(124, 56%, 35%)
CMYKcmyk(55.6%, 0%, 52.2%, 64.7%)
CIE-LABlab(33.85, -27.95, 22.03)
CIE-LCHlch(33.85, 35.58, 141.76°)
OKLaboklab(42.03% -0.0759 0.0534)
OKLCHoklch(42.03% 0.093 144.8)
XYZxyz(4.9670, 7.9375, 3.5554)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A2B #5A2857
analogous
#3E5A28 #285A2B #285A44
triadic
#285A2B #2B285A #5A2B28
tetradic
#285A2B #283E5A #5A2857 #5A4428
square
#285A2B #283E5A #5A2857 #5A4428
split-complementary
#285A2B #44285A #5A283E
monochromatic
#09150A #153017 #285A2B #3B843F #4EAF53

Accessibility & contrast

On white

8.12
#285A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#285A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A2B
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A2B#FFFFFF#000000##FFFFFF
##285A2B1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5227
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#20584F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285a2b;
/* rgb */ color: rgb(40, 90, 43);
/* oklch */ color: oklch(42.0% 0.093 144.8);
Tailwind
colors: {
  custom: {
    50: '#678965',
    500: '#285a2b',
    950: '#000000',
  },
}
SCSS
$custom: #285a2b;
$custom-light: #678965;
$custom-dark: #000000;
JSON
{
  "hex": "#285a2b",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 43
  },
  "hsl": {
    "h": 123.6,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.42026,
    "c": 0.09281,
    "h": 144.8
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#285A2B
secondary
#8D5189
accent
#59C7CE
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B05
muted
#7A7C7A

Preview Lab

Preview with #285A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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