#285E1C#285E1C

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

Color values

HEX#285E1C
RGBrgb(40, 94, 28)
HSLhsl(109, 54%, 24%)
HSVhsv(109, 70%, 37%)
CMYKcmyk(57.4%, 0%, 70.2%, 63.1%)
CIE-LABlab(35.08, -31.76, 31.39)
CIE-LCHlch(35.08, 44.65, 135.33°)
OKLaboklab(42.98% -0.087 0.0724)
OKLCHoklch(42.98% 0.113 140.2)
XYZxyz(5.0872, 8.5400, 2.4787)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E1C #521C5E
analogous
#495E1C #285E1C #1C5E31
triadic
#285E1C #1C285E #5E1C28
tetradic
#285E1C #1C495E #521C5E #5E311C
square
#285E1C #1C495E #521C5E #5E311C
split-complementary
#285E1C #311C5E #5E1C49
monochromatic
#0A1807 #142F0E #285E1C #3C8D2A #50BC38

Accessibility & contrast

On white

7.75
#285E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285E1C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E1C#FFFFFF#000000##FFFFFF
##285E1C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #285e1c;
/* rgb */ color: rgb(40, 94, 28);
/* oklch */ color: oklch(43.0% 0.113 140.2);
Tailwind
colors: {
  custom: {
    50: '#688c5c',
    500: '#285e1c',
    950: '#000000',
  },
}
SCSS
$custom: #285e1c;
$custom-light: #688c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#285e1c",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 28
  },
  "hsl": {
    "h": 109.091,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.11321,
    "h": 140.2
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#285E1C
secondary
#854293
accent
#4ADDC3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #285E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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