#285F1D#285F1D

#285F1D is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.114 H 140.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#285F1D
RGBrgb(40, 95, 29)
HSLhsl(110, 53%, 24%)
HSVhsv(110, 69%, 37%)
CMYKcmyk(57.9%, 0%, 69.5%, 62.7%)
CIE-LABlab(35.45, -32.08, 31.31)
CIE-LCHlch(35.45, 44.83, 135.69°)
OKLaboklab(43.28% -0.0878 0.0724)
OKLCHoklch(43.28% 0.114 140.5)
XYZxyz(5.1888, 8.7238, 2.5726)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F1D #541D5F
analogous
#495F1D #285F1D #1D5F33
triadic
#285F1D #1D285F #5F1D28
tetradic
#285F1D #1D495F #541D5F #5F331D
square
#285F1D #1D495F #541D5F #5F331D
split-complementary
#285F1D #331D5F #5F1D49
monochromatic
#0A1707 #14300F #285F1D #3C8E2B #4FBD3A

Accessibility & contrast

On white

7.65
#285F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#285F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285F1D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F1D#FFFFFF#000000##FFFFFF
##285F1D1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625615
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#225C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285f1d;
/* rgb */ color: rgb(40, 95, 29);
/* oklch */ color: oklch(43.3% 0.114 140.5);
Tailwind
colors: {
  custom: {
    50: '#688d5c',
    500: '#285f1d',
    950: '#000000',
  },
}
SCSS
$custom: #285f1d;
$custom-light: #688d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#285f1d",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 29
  },
  "hsl": {
    "h": 110,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.11381,
    "h": 140.5
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#285F1D
secondary
#874494
accent
#4BDDC4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #285F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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