#285E1A#285E1A

#285E1A is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.115 H 139.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#285E1A
RGBrgb(40, 94, 26)
HSLhsl(108, 57%, 24%)
HSVhsv(108, 72%, 37%)
CMYKcmyk(57.4%, 0%, 72.3%, 63.1%)
CIE-LABlab(35.06, -31.96, 32.30)
CIE-LCHlch(35.06, 45.44, 134.70°)
OKLaboklab(42.96% -0.0877 0.0741)
OKLCHoklch(42.96% 0.115 139.8)
XYZxyz(5.0640, 8.5307, 2.3568)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E1A #501A5E
analogous
#4A5E1A #285E1A #1A5E2E
triadic
#285E1A #1A285E #5E1A28
tetradic
#285E1A #1A4A5E #501A5E #5E2E1A
square
#285E1A #1A4A5E #501A5E #5E2E1A
split-complementary
#285E1A #2E1A5E #5E1A4A
monochromatic
#0A1807 #142E0D #285E1A #3C8E27 #51BE35

Accessibility & contrast

On white

7.76
#285E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#285E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E1A
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E1A#FFFFFF#000000##FFFFFF
##285E1A1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615511
Deuteranopia (green-blind)
#5A5120
Tritanopia (blue-blind)
#225B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285e1a;
/* rgb */ color: rgb(40, 94, 26);
/* oklch */ color: oklch(43.0% 0.115 139.8);
Tailwind
colors: {
  custom: {
    50: '#688c5a',
    500: '#285e1a',
    950: '#000000',
  },
}
SCSS
$custom: #285e1a;
$custom-light: #688c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#285e1a",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 26
  },
  "hsl": {
    "h": 107.647,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42956,
    "c": 0.11482,
    "h": 139.8
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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