#285B2E#285B2E

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

Color values

HEX#285B2E
RGBrgb(40, 91, 46)
HSLhsl(127, 39%, 26%)
HSVhsv(127, 56%, 36%)
CMYKcmyk(56%, 0%, 49.5%, 64.3%)
CIE-LABlab(34.25, -27.91, 20.80)
CIE-LCHlch(34.25, 34.81, 143.30°)
OKLaboklab(42.37% -0.0757 0.0508)
OKLCHoklch(42.37% 0.091 146.1)
XYZxyz(5.1090, 8.1301, 3.8843)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B2E #5B2855
analogous
#3B5B28 #285B2E #285B47
triadic
#285B2E #2E285B #5B2E28
tetradic
#285B2E #283B5B #5B2855 #5B4728
square
#285B2E #283B5B #5B2855 #5B4728
split-complementary
#285B2E #47285B #5B283B
monochromatic
#09150B #153019 #285B2E #3B8643 #4DB059

Accessibility & contrast

On white

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

On black

2.63
#285B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##285B2E#FFFFFF#000000##FFFFFF
##285B2E1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532A
Deuteranopia (green-blind)
#554F31
Tritanopia (blue-blind)
#1F5950
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285b2e;
/* rgb */ color: rgb(40, 91, 46);
/* oklch */ color: oklch(42.4% 0.091 146.1);
Tailwind
colors: {
  custom: {
    50: '#678a67',
    500: '#285b2e',
    950: '#000000',
  },
}
SCSS
$custom: #285b2e;
$custom-light: #678a67;
$custom-dark: #000000;
JSON
{
  "hex": "#285b2e",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 46
  },
  "hsl": {
    "h": 127.059,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.42369,
    "c": 0.09118,
    "h": 146.1
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#285B2E
secondary
#8E5187
accent
#59C1CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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