#285E19#285E19

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

Color values

HEX#285E19
RGBrgb(40, 94, 25)
HSLhsl(107, 58%, 23%)
HSVhsv(107, 73%, 37%)
CMYKcmyk(57.4%, 0%, 73.4%, 63.1%)
CIE-LABlab(35.06, -32.06, 32.75)
CIE-LCHlch(35.06, 45.83, 134.39°)
OKLaboklab(42.95% -0.0881 0.0749)
OKLCHoklch(42.95% 0.116 139.6)
XYZxyz(5.0530, 8.5263, 2.2990)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E19 #4F195E
analogous
#4A5E19 #285E19 #195E2C
triadic
#285E19 #19285E #5E1928
tetradic
#285E19 #194A5E #4F195E #5E2C19
square
#285E19 #194A5E #4F195E #5E2C19
split-complementary
#285E19 #2C195E #5E194A
monochromatic
#0A1806 #132E0C #285E19 #3D8E26 #51BF33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285E19#FFFFFF#000000##FFFFFF
##285E191.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)
#61550F
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#225B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285e19;
/* rgb */ color: rgb(40, 94, 25);
/* oklch */ color: oklch(42.9% 0.116 139.6);
Tailwind
colors: {
  custom: {
    50: '#688c5a',
    500: '#285e19',
    950: '#000000',
  },
}
SCSS
$custom: #285e19;
$custom-light: #688c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#285e19",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 25
  },
  "hsl": {
    "h": 106.957,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.11559,
    "h": 139.6
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#285E19
secondary
#823F94
accent
#47E1C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #285E19

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

Preview Lab → · Contrast checker → · Palette generator →

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