#285316#285316

#285316 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.102 H 137.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#285316
RGBrgb(40, 83, 22)
HSLhsl(102, 58%, 21%)
HSVhsv(102, 73%, 33%)
CMYKcmyk(51.8%, 0%, 73.5%, 67.5%)
CIE-LABlab(31.10, -27.49, 29.94)
CIE-LCHlch(31.10, 40.65, 132.56°)
OKLaboklab(39.69% -0.0759 0.0685)
OKLCHoklch(39.69% 0.102 137.9)
XYZxyz(4.1130, 6.6953, 1.8345)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285316 #411653
analogous
#465316 #285316 #165322
triadic
#285316 #162853 #531628
tetradic
#285316 #164653 #411653 #532216
square
#285316 #164653 #411653 #532216
split-complementary
#285316 #221653 #531646
monochromatic
#0C1806 #112309 #285316 #3F8323 #57B430

Accessibility & contrast

On white

8.98
#285316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#285316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285316
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285316#FFFFFF#000000##FFFFFF
##2853161.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0D
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#255047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285316;
/* rgb */ color: rgb(40, 83, 22);
/* oklch */ color: oklch(39.7% 0.102 137.9);
Tailwind
colors: {
  custom: {
    50: '#678457',
    500: '#285316',
    950: '#000000',
  },
}
SCSS
$custom: #285316;
$custom-light: #678457;
$custom-dark: #000000;
JSON
{
  "hex": "#285316",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 102.295,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39686,
    "c": 0.10227,
    "h": 137.9
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#285316
secondary
#733A8A
accent
#46E1B4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285316

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

Preview Lab → · Contrast checker → · Palette generator →

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