#285F19#285F19

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

Color values

HEX#285F19
RGBrgb(40, 95, 25)
HSLhsl(107, 58%, 24%)
HSVhsv(107, 74%, 37%)
CMYKcmyk(57.9%, 0%, 73.7%, 62.7%)
CIE-LABlab(35.41, -32.49, 33.12)
CIE-LCHlch(35.41, 46.40, 134.44°)
OKLaboklab(43.24% -0.0892 0.0757)
OKLCHoklch(43.24% 0.117 139.7)
XYZxyz(5.1425, 8.7053, 2.3288)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F19 #50195F
analogous
#4B5F19 #285F19 #195F2D
triadic
#285F19 #19285F #5F1928
tetradic
#285F19 #194B5F #50195F #5F2D19
square
#285F19 #194B5F #50195F #5F2D19
split-complementary
#285F19 #2D195F #5F194B
monochromatic
#0A1806 #142F0C #285F19 #3C8F26 #51C032

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285F19#FFFFFF#000000##FFFFFF
##285F191.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)
#62560F
Deuteranopia (green-blind)
#5B5220
Tritanopia (blue-blind)
#225C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285f19;
/* rgb */ color: rgb(40, 95, 25);
/* oklch */ color: oklch(43.2% 0.117 139.7);
Tailwind
colors: {
  custom: {
    50: '#698d5a',
    500: '#285f19',
    950: '#000000',
  },
}
SCSS
$custom: #285f19;
$custom-light: #698d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#285f19",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 107.143,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43238,
    "c": 0.11697,
    "h": 139.7
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#285F19
secondary
#833F95
accent
#46E2C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #285F19

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

Preview Lab → · Contrast checker → · Palette generator →

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