#285F15#285F15

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

Color values

HEX#285F15
RGBrgb(40, 95, 21)
HSLhsl(105, 64%, 23%)
HSVhsv(105, 78%, 37%)
CMYKcmyk(57.9%, 0%, 77.9%, 62.7%)
CIE-LABlab(35.38, -32.84, 34.80)
CIE-LCHlch(35.38, 47.85, 133.34°)
OKLaboklab(43.2% -0.0905 0.0786)
OKLCHoklch(43.2% 0.12 139)
XYZxyz(5.1024, 8.6893, 2.1176)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F15 #4C155F
analogous
#4D5F15 #285F15 #155F27
triadic
#285F15 #15285F #5F1528
tetradic
#285F15 #154D5F #4C155F #5F2715
square
#285F15 #154D5F #4C155F #5F2715
split-complementary
#285F15 #27155F #5F154D
monochromatic
#0B1906 #132D0A #285F15 #3D9120 #52C32B

Accessibility & contrast

On white

7.67
#285F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285F15
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F15#FFFFFF#000000##FFFFFF
##285F151.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625608
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#235C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285f15;
/* rgb */ color: rgb(40, 95, 21);
/* oklch */ color: oklch(43.2% 0.120 139.0);
Tailwind
colors: {
  custom: {
    50: '#698d58',
    500: '#285f15',
    950: '#000000',
  },
}
SCSS
$custom: #285f15;
$custom-light: #698d58;
$custom-dark: #000000;
JSON
{
  "hex": "#285f15",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 104.595,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43202,
    "c": 0.11982,
    "h": 139
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#285F15
secondary
#7E3A96
accent
#41E7BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285F15

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

Preview Lab → · Contrast checker → · Palette generator →

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