#285016#285016

#285016 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.098 H 137.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#285016
RGBrgb(40, 80, 22)
HSLhsl(101, 57%, 20%)
HSVhsv(101, 73%, 31%)
CMYKcmyk(50%, 0%, 72.5%, 68.6%)
CIE-LABlab(30.03, -26.10, 28.79)
CIE-LCHlch(30.03, 38.86, 132.19°)
OKLaboklab(38.8% -0.0721 0.0661)
OKLCHoklch(38.8% 0.098 137.5)
XYZxyz(3.8884, 6.2461, 1.7596)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285016 #3E1650
analogous
#455016 #285016 #165021
triadic
#285016 #162850 #501628
tetradic
#285016 #164550 #3E1650 #502116
square
#285016 #164550 #3E1650 #502116
split-complementary
#285016 #211650 #501645
monochromatic
#0C1807 #102009 #285016 #408023 #58B030

Accessibility & contrast

On white

9.34
#285016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#285016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285016
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285016#FFFFFF#000000##FFFFFF
##2850161.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#264D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #285016;
/* rgb */ color: rgb(40, 80, 22);
/* oklch */ color: oklch(38.8% 0.098 137.5);
Tailwind
colors: {
  custom: {
    50: '#668156',
    500: '#285016',
    950: '#000000',
  },
}
SCSS
$custom: #285016;
$custom-light: #668156;
$custom-dark: #000000;
JSON
{
  "hex": "#285016",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 101.379,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.38801,
    "c": 0.09785,
    "h": 137.5
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#285016
secondary
#703A87
accent
#48E0B1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285016

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

Preview Lab → · Contrast checker → · Palette generator →

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