#285916#285916

#285916 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.111 H 138.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#285916
RGBrgb(40, 89, 22)
HSLhsl(104, 60%, 22%)
HSVhsv(104, 75%, 35%)
CMYKcmyk(55.1%, 0%, 75.3%, 65.1%)
CIE-LABlab(33.25, -30.18, 32.20)
CIE-LCHlch(33.25, 44.13, 133.15°)
OKLaboklab(41.45% -0.0832 0.0733)
OKLCHoklch(41.45% 0.111 138.6)
XYZxyz(4.5921, 7.6535, 1.9942)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285916 #471659
analogous
#4A5916 #285916 #165926
triadic
#285916 #162859 #591628
tetradic
#285916 #164A59 #471659 #592616
square
#285916 #164A59 #471659 #592616
split-complementary
#285916 #261659 #59164A
monochromatic
#0B1906 #12280A #285916 #3E8A22 #54BB2E

Accessibility & contrast

On white

8.30
#285916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#285916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285916
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285916#FFFFFF#000000##FFFFFF
##2859161.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510C
Deuteranopia (green-blind)
#554D1C
Tritanopia (blue-blind)
#24564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #285916;
/* rgb */ color: rgb(40, 89, 22);
/* oklch */ color: oklch(41.5% 0.111 138.6);
Tailwind
colors: {
  custom: {
    50: '#688858',
    500: '#285916',
    950: '#000000',
  },
}
SCSS
$custom: #285916;
$custom-light: #688858;
$custom-dark: #000000;
JSON
{
  "hex": "#285916",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 22
  },
  "hsl": {
    "h": 103.881,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.11086,
    "h": 138.6
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#285916
secondary
#793B90
accent
#44E4B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285916

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

Preview Lab → · Contrast checker → · Palette generator →

#285916 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva