#285B2C#285B2C

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

Color values

HEX#285B2C
RGBrgb(40, 91, 44)
HSLhsl(125, 39%, 26%)
HSVhsv(125, 56%, 36%)
CMYKcmyk(56%, 0%, 51.6%, 64.3%)
CIE-LABlab(34.22, -28.24, 21.91)
CIE-LCHlch(34.22, 35.75, 142.19°)
OKLaboklab(42.33% -0.0767 0.0532)
OKLCHoklch(42.33% 0.093 145.2)
XYZxyz(5.0705, 8.1147, 3.6815)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B2C #5B2857
analogous
#3D5B28 #285B2C #285B45
triadic
#285B2C #2C285B #5B2C28
tetradic
#285B2C #283D5B #5B2857 #5B4528
square
#285B2C #283D5B #5B2857 #5B4528
split-complementary
#285B2C #45285B #5B283D
monochromatic
#09150A #153017 #285B2C #3B8641 #4DB055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285B2C#FFFFFF#000000##FFFFFF
##285B2C1.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)
#5C5328
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#205950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b2c;
/* rgb */ color: rgb(40, 91, 44);
/* oklch */ color: oklch(42.3% 0.093 145.2);
Tailwind
colors: {
  custom: {
    50: '#678a66',
    500: '#285b2c',
    950: '#000000',
  },
}
SCSS
$custom: #285b2c;
$custom-light: #678a66;
$custom-dark: #000000;
JSON
{
  "hex": "#285b2c",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 44
  },
  "hsl": {
    "h": 124.706,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.42333,
    "c": 0.09333,
    "h": 145.2
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#285B2C
secondary
#8E5189
accent
#59C6CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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