#285B2D#285B2D

#285B2D is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.4% C 0.092 H 145.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#285B2D
RGBrgb(40, 91, 45)
HSLhsl(126, 39%, 26%)
HSVhsv(126, 56%, 36%)
CMYKcmyk(56%, 0%, 50.5%, 64.3%)
CIE-LABlab(34.24, -28.08, 21.36)
CIE-LCHlch(34.24, 35.28, 142.74°)
OKLaboklab(42.35% -0.0762 0.052)
OKLCHoklch(42.35% 0.092 145.7)
XYZxyz(5.0895, 8.1223, 3.7817)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B2D #5B2856
analogous
#3C5B28 #285B2D #285B46
triadic
#285B2D #2D285B #5B2D28
tetradic
#285B2D #283C5B #5B2856 #5B4628
square
#285B2D #283C5B #5B2856 #5B4628
split-complementary
#285B2D #46285B #5B283C
monochromatic
#09150B #153018 #285B2D #3B8642 #4DB057

Accessibility & contrast

On white

8.00
#285B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285B2D
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B2D#FFFFFF#000000##FFFFFF
##285B2D1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5329
Deuteranopia (green-blind)
#554F30
Tritanopia (blue-blind)
#1F5950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b2d;
/* rgb */ color: rgb(40, 91, 45);
/* oklch */ color: oklch(42.4% 0.092 145.7);
Tailwind
colors: {
  custom: {
    50: '#678a67',
    500: '#285b2d',
    950: '#000000',
  },
}
SCSS
$custom: #285b2d;
$custom-light: #678a67;
$custom-dark: #000000;
JSON
{
  "hex": "#285b2d",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 45
  },
  "hsl": {
    "h": 125.882,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.09226,
    "h": 145.7
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#285B2D
secondary
#8E5188
accent
#59C3CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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