#284D16#284D16

#284D16 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.9% C 0.093 H 137.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#284D16
RGBrgb(40, 77, 22)
HSLhsl(100, 56%, 19%)
HSVhsv(100, 71%, 30%)
CMYKcmyk(48.1%, 0%, 71.4%, 69.8%)
CIE-LABlab(28.95, -24.67, 27.62)
CIE-LCHlch(28.95, 37.04, 131.77°)
OKLaboklab(37.92% -0.0683 0.0637)
OKLCHoklch(37.92% 0.093 137)
XYZxyz(3.6737, 5.8166, 1.6880)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D16 #3B164D
analogous
#444D16 #284D16 #164D20
triadic
#284D16 #16284D #4D1628
tetradic
#284D16 #16444D #3B164D #4D2016
square
#284D16 #16444D #3B164D #4D2016
split-complementary
#284D16 #20164D #4D1644
monochromatic
#0C1807 #0F1D08 #284D16 #417D24 #59AC31

Accessibility & contrast

On white

9.71
#284D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#284D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D16
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D16#FFFFFF#000000##FFFFFF
##284D161.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460F
Deuteranopia (green-blind)
#4B431B
Tritanopia (blue-blind)
#264A42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284d16;
/* rgb */ color: rgb(40, 77, 22);
/* oklch */ color: oklch(37.9% 0.093 137.0);
Tailwind
colors: {
  custom: {
    50: '#667f56',
    500: '#284d16',
    950: '#000000',
  },
}
SCSS
$custom: #284d16;
$custom-light: #667f56;
$custom-dark: #000000;
JSON
{
  "hex": "#284d16",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 100.364,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37916,
    "c": 0.09334,
    "h": 137
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#284D16
secondary
#6C3A85
accent
#49DFAE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284D16

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

Preview Lab → · Contrast checker → · Palette generator →

#284D16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva