#285D19#285D19

#285D19 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.114 H 139.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#285D19
RGBrgb(40, 93, 25)
HSLhsl(107, 58%, 23%)
HSVhsv(107, 73%, 36%)
CMYKcmyk(57%, 0%, 73.1%, 63.5%)
CIE-LABlab(34.70, -31.63, 32.37)
CIE-LCHlch(34.70, 45.26, 134.34°)
OKLaboklab(42.65% -0.0869 0.0741)
OKLCHoklch(42.65% 0.114 139.6)
XYZxyz(4.9647, 8.3496, 2.2695)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D19 #4E195D
analogous
#4A5D19 #285D19 #195D2C
triadic
#285D19 #19285D #5D1928
tetradic
#285D19 #194A5D #4E195D #5D2C19
square
#285D19 #194A5D #4E195D #5D2C19
split-complementary
#285D19 #2C195D #5D194A
monochromatic
#0A1806 #132D0C #285D19 #3D8D26 #51BD33

Accessibility & contrast

On white

7.87
#285D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#285D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285D19
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D19#FFFFFF#000000##FFFFFF
##285D191.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540F
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#235A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285d19;
/* rgb */ color: rgb(40, 93, 25);
/* oklch */ color: oklch(42.7% 0.114 139.6);
Tailwind
colors: {
  custom: {
    50: '#688b5a',
    500: '#285d19',
    950: '#000000',
  },
}
SCSS
$custom: #285d19;
$custom-light: #688b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#285d19",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 106.765,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.1142,
    "h": 139.6
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#285D19
secondary
#813F93
accent
#47E1BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #285D19

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

Preview Lab → · Contrast checker → · Palette generator →

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