#285E15#285E15

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

Color values

HEX#285E15
RGBrgb(40, 94, 21)
HSLhsl(104, 63%, 23%)
HSVhsv(104, 78%, 37%)
CMYKcmyk(57.4%, 0%, 77.7%, 63.1%)
CIE-LABlab(35.02, -32.42, 34.44)
CIE-LCHlch(35.02, 47.30, 133.27°)
OKLaboklab(42.91% -0.0893 0.0778)
OKLCHoklch(42.91% 0.118 138.9)
XYZxyz(5.0129, 8.5103, 2.0878)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E15 #4B155E
analogous
#4C5E15 #285E15 #155E27
triadic
#285E15 #15285E #5E1528
tetradic
#285E15 #154C5E #4B155E #5E2715
square
#285E15 #154C5E #4B155E #5E2715
split-complementary
#285E15 #27155E #5E154C
monochromatic
#0B1906 #132C0A #285E15 #3D9020 #53C22B

Accessibility & contrast

On white

7.77
#285E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#285E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E15
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E15#FFFFFF#000000##FFFFFF
##285E151.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615508
Deuteranopia (green-blind)
#5A511C
Tritanopia (blue-blind)
#235B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285e15;
/* rgb */ color: rgb(40, 94, 21);
/* oklch */ color: oklch(42.9% 0.118 138.9);
Tailwind
colors: {
  custom: {
    50: '#698c58',
    500: '#285e15',
    950: '#000000',
  },
}
SCSS
$custom: #285e15;
$custom-light: #698c58;
$custom-dark: #000000;
JSON
{
  "hex": "#285e15",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 104.384,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.11847,
    "h": 138.9
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285E15

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

Preview Lab → · Contrast checker → · Palette generator →

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