#285B16#285B16

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

Color values

HEX#285B16
RGBrgb(40, 91, 22)
HSLhsl(104, 61%, 22%)
HSVhsv(104, 76%, 36%)
CMYKcmyk(56%, 0%, 75.8%, 64.3%)
CIE-LABlab(33.96, -31.05, 32.93)
CIE-LCHlch(33.96, 45.26, 133.31°)
OKLaboklab(42.04% -0.0855 0.0748)
OKLCHoklch(42.04% 0.114 138.8)
XYZxyz(4.7608, 7.9908, 2.0504)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B16 #49165B
analogous
#4B5B16 #285B16 #165B27
triadic
#285B16 #16285B #5B1628
tetradic
#285B16 #164B5B #49165B #5B2716
square
#285B16 #164B5B #49165B #5B2716
split-complementary
#285B16 #27165B #5B164B
monochromatic
#0B1906 #122A0A #285B16 #3E8C22 #53BE2E

Accessibility & contrast

On white

8.08
#285B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285B16
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B16#FFFFFF#000000##FFFFFF
##285B161.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530B
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#23584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b16;
/* rgb */ color: rgb(40, 91, 22);
/* oklch */ color: oklch(42.0% 0.114 138.8);
Tailwind
colors: {
  custom: {
    50: '#688a58',
    500: '#285b16',
    950: '#000000',
  },
}
SCSS
$custom: #285b16;
$custom-light: #688a58;
$custom-dark: #000000;
JSON
{
  "hex": "#285b16",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 104.348,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42039,
    "c": 0.11365,
    "h": 138.8
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#285B16
secondary
#7B3B92
accent
#44E4BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #285B16

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

Preview Lab → · Contrast checker → · Palette generator →

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