#285A2E#285A2E

#285A2E is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.090 H 146.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#285A2E
RGBrgb(40, 90, 46)
HSLhsl(127, 38%, 25%)
HSVhsv(127, 56%, 35%)
CMYKcmyk(55.6%, 0%, 48.9%, 64.7%)
CIE-LABlab(33.90, -27.44, 20.36)
CIE-LCHlch(33.90, 34.17, 143.43°)
OKLaboklab(42.08% -0.0744 0.0498)
OKLCHoklch(42.08% 0.09 146.2)
XYZxyz(5.0241, 7.9603, 3.8560)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A2E #5A2854
analogous
#3B5A28 #285A2E #285A47
triadic
#285A2E #2E285A #5A2E28
tetradic
#285A2E #283B5A #5A2854 #5A4728
square
#285A2E #283B5A #5A2854 #5A4728
split-complementary
#285A2E #47285A #5A283B
monochromatic
#09150B #153018 #285A2E #3B8444 #4EAF59

Accessibility & contrast

On white

8.10
#285A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285A2E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A2E#FFFFFF#000000##FFFFFF
##285A2E1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532B
Deuteranopia (green-blind)
#544E31
Tritanopia (blue-blind)
#1F584F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285a2e;
/* rgb */ color: rgb(40, 90, 46);
/* oklch */ color: oklch(42.1% 0.090 146.2);
Tailwind
colors: {
  custom: {
    50: '#668967',
    500: '#285a2e',
    950: '#000000',
  },
}
SCSS
$custom: #285a2e;
$custom-light: #668967;
$custom-dark: #000000;
JSON
{
  "hex": "#285a2e",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 46
  },
  "hsl": {
    "h": 127.2,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4208,
    "c": 0.08956,
    "h": 146.2
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#285A2E
secondary
#8D5186
accent
#59C0CE
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #285A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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