#285F1A#285F1A

#285F1A is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.116 H 139.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#285F1A
RGBrgb(40, 95, 26)
HSLhsl(108, 57%, 24%)
HSVhsv(108, 73%, 37%)
CMYKcmyk(57.9%, 0%, 72.6%, 62.7%)
CIE-LABlab(35.42, -32.39, 32.68)
CIE-LCHlch(35.42, 46.01, 134.74°)
OKLaboklab(43.25% -0.0889 0.0749)
OKLCHoklch(43.25% 0.116 139.9)
XYZxyz(5.1535, 8.7097, 2.3867)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F1A #511A5F
analogous
#4A5F1A #285F1A #1A5F2E
triadic
#285F1A #1A285F #5F1A28
tetradic
#285F1A #1A4A5F #511A5F #5F2E1A
square
#285F1A #1A4A5F #511A5F #5F2E1A
split-complementary
#285F1A #2E1A5F #5F1A4A
monochromatic
#0A1807 #142F0D #285F1A #3C8F27 #50BF34

Accessibility & contrast

On white

7.66
#285F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285F1A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F1A#FFFFFF#000000##FFFFFF
##285F1A1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #285f1a;
/* rgb */ color: rgb(40, 95, 26);
/* oklch */ color: oklch(43.2% 0.116 139.9);
Tailwind
colors: {
  custom: {
    50: '#688d5b',
    500: '#285f1a',
    950: '#000000',
  },
}
SCSS
$custom: #285f1a;
$custom-light: #688d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#285f1a",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 26
  },
  "hsl": {
    "h": 107.826,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43248,
    "c": 0.11621,
    "h": 139.9
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#285F1A
secondary
#844095
accent
#48E0C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #285F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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