#285B15#285B15

#285B15 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.114 H 138.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#285B15
RGBrgb(40, 91, 21)
HSLhsl(104, 63%, 22%)
HSVhsv(104, 77%, 36%)
CMYKcmyk(56%, 0%, 76.9%, 64.3%)
CIE-LABlab(33.96, -31.14, 33.36)
CIE-LCHlch(33.96, 45.63, 133.03°)
OKLaboklab(42.03% -0.0859 0.0756)
OKLCHoklch(42.03% 0.114 138.7)
XYZxyz(4.7513, 7.9871, 2.0006)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B15 #48155B
analogous
#4B5B15 #285B15 #155B25
triadic
#285B15 #15285B #5B1528
tetradic
#285B15 #154B5B #48155B #5B2515
square
#285B15 #154B5B #48155B #5B2515
split-complementary
#285B15 #25155B #5B154B
monochromatic
#0B1906 #12290A #285B15 #3E8D20 #54BE2C

Accessibility & contrast

On white

8.09
#285B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#285B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B15
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B15#FFFFFF#000000##FFFFFF
##285B151.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5209
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#24584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b15;
/* rgb */ color: rgb(40, 91, 21);
/* oklch */ color: oklch(42.0% 0.114 138.7);
Tailwind
colors: {
  custom: {
    50: '#688a57',
    500: '#285b15',
    950: '#000000',
  },
}
SCSS
$custom: #285b15;
$custom-light: #688a57;
$custom-dark: #000000;
JSON
{
  "hex": "#285b15",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 103.714,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.11437,
    "h": 138.7
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#285B15
secondary
#7A3992
accent
#42E6B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #285B15

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

Preview Lab → · Contrast checker → · Palette generator →

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