#285D1F#285D1F

#285D1F is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.109 H 140.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#285D1F
RGBrgb(40, 93, 31)
HSLhsl(111, 50%, 24%)
HSVhsv(111, 67%, 36%)
CMYKcmyk(57%, 0%, 66.7%, 63.5%)
CIE-LABlab(34.76, -30.99, 29.57)
CIE-LCHlch(34.76, 42.83, 136.34°)
OKLaboklab(42.72% -0.0847 0.0689)
OKLCHoklch(42.72% 0.109 140.9)
XYZxyz(5.0365, 8.3783, 2.6478)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D1F #541F5D
analogous
#475D1F #285D1F #1F5D35
triadic
#285D1F #1F285D #5D1F28
tetradic
#285D1F #1F475D #541F5D #5D351F
square
#285D1F #1F475D #541F5D #5D351F
split-complementary
#285D1F #351F5D #5D1F47
monochromatic
#0A1708 #142F10 #285D1F #3C8B2E #4FB93E

Accessibility & contrast

On white

7.85
#285D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#285D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285D1F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D1F#FFFFFF#000000##FFFFFF
##285D1F1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5518
Deuteranopia (green-blind)
#595024
Tritanopia (blue-blind)
#225A50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285d1f;
/* rgb */ color: rgb(40, 93, 31);
/* oklch */ color: oklch(42.7% 0.109 140.9);
Tailwind
colors: {
  custom: {
    50: '#688b5d',
    500: '#285d1f',
    950: '#000000',
  },
}
SCSS
$custom: #285d1f;
$custom-light: #688b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#285d1f",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 31
  },
  "hsl": {
    "h": 111.29,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4272,
    "c": 0.10922,
    "h": 140.9
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#285D1F
secondary
#874692
accent
#4EDAC5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #285D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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