#285C2E#285C2E

#285C2E is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.7% C 0.093 H 146.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#285C2E
RGBrgb(40, 92, 46)
HSLhsl(127, 39%, 26%)
HSVhsv(127, 57%, 36%)
CMYKcmyk(56.5%, 0%, 50%, 63.9%)
CIE-LABlab(34.60, -28.37, 21.25)
CIE-LCHlch(34.60, 35.45, 143.17°)
OKLaboklab(42.66% -0.0769 0.0518)
OKLCHoklch(42.66% 0.093 146)
XYZxyz(5.1951, 8.3022, 3.9130)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C2E #5C2856
analogous
#3C5C28 #285C2E #285C48
triadic
#285C2E #2E285C #5C2E28
tetradic
#285C2E #283C5C #5C2856 #5C4828
square
#285C2E #283C5C #5C2856 #5C4828
split-complementary
#285C2E #48285C #5C283C
monochromatic
#09150B #153119 #285C2E #3B8743 #4DB159

Accessibility & contrast

On white

7.89
#285C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#285C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C2E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C2E#FFFFFF#000000##FFFFFF
##285C2E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D542A
Deuteranopia (green-blind)
#565031
Tritanopia (blue-blind)
#1F5A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c2e;
/* rgb */ color: rgb(40, 92, 46);
/* oklch */ color: oklch(42.7% 0.093 146.0);
Tailwind
colors: {
  custom: {
    50: '#678b67',
    500: '#285c2e',
    950: '#000000',
  },
}
SCSS
$custom: #285c2e;
$custom-light: #678b67;
$custom-dark: #000000;
JSON
{
  "hex": "#285c2e",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 46
  },
  "hsl": {
    "h": 126.923,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42658,
    "c": 0.09278,
    "h": 146
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#285C2E
secondary
#8F5188
accent
#59C2CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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