#285C1F#285C1F

#285C1F is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.108 H 140.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#285C1F
RGBrgb(40, 92, 31)
HSLhsl(111, 50%, 24%)
HSVhsv(111, 66%, 36%)
CMYKcmyk(56.5%, 0%, 66.3%, 63.9%)
CIE-LABlab(34.40, -30.55, 29.17)
CIE-LCHlch(34.40, 42.24, 136.32°)
OKLaboklab(42.43% -0.0835 0.0681)
OKLCHoklch(42.43% 0.108 140.8)
XYZxyz(4.9493, 8.2039, 2.6188)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C1F #531F5C
analogous
#475C1F #285C1F #1F5C35
triadic
#285C1F #1F285C #5C1F28
tetradic
#285C1F #1F475C #531F5C #5C351F
square
#285C1F #1F475C #531F5C #5C351F
split-complementary
#285C1F #351F5C #5C1F47
monochromatic
#0A1708 #142E10 #285C1F #3C8A2E #50B83E

Accessibility & contrast

On white

7.95
#285C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#285C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C1F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C1F#FFFFFF#000000##FFFFFF
##285C1F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5418
Deuteranopia (green-blind)
#584F24
Tritanopia (blue-blind)
#22594F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c1f;
/* rgb */ color: rgb(40, 92, 31);
/* oklch */ color: oklch(42.4% 0.108 140.8);
Tailwind
colors: {
  custom: {
    50: '#688b5d',
    500: '#285c1f',
    950: '#000000',
  },
}
SCSS
$custom: #285c1f;
$custom-light: #688b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#285c1f",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 31
  },
  "hsl": {
    "h": 111.148,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.42428,
    "c": 0.10776,
    "h": 140.8
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#285C1F
secondary
#864691
accent
#4FD9C5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #285C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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