#284C16#284C16

#284C16 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.092 H 136.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#284C16
RGBrgb(40, 76, 22)
HSLhsl(100, 55%, 19%)
HSVhsv(100, 71%, 30%)
CMYKcmyk(47.4%, 0%, 71.1%, 70.2%)
CIE-LABlab(28.58, -24.19, 27.23)
CIE-LCHlch(28.58, 36.42, 131.62°)
OKLaboklab(37.62% -0.067 0.0628)
OKLCHoklch(37.62% 0.092 136.8)
XYZxyz(3.6042, 5.6777, 1.6649)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C16 #3A164C
analogous
#434C16 #284C16 #164C1F
triadic
#284C16 #16284C #4C1628
tetradic
#284C16 #16434C #3A164C #4C1F16
square
#284C16 #16434C #3A164C #4C1F16
split-complementary
#284C16 #1F164C #4C1643
monochromatic
#0C1807 #0F1D08 #284C16 #417B24 #5AAB31

Accessibility & contrast

On white

9.83
#284C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#284C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284C16
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C16#FFFFFF#000000##FFFFFF
##284C161.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450F
Deuteranopia (green-blind)
#4A421A
Tritanopia (blue-blind)
#264941
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284c16;
/* rgb */ color: rgb(40, 76, 22);
/* oklch */ color: oklch(37.6% 0.092 136.8);
Tailwind
colors: {
  custom: {
    50: '#657e56',
    500: '#284c16',
    950: '#000000',
  },
}
SCSS
$custom: #284c16;
$custom-light: #657e56;
$custom-dark: #000000;
JSON
{
  "hex": "#284c16",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 22
  },
  "hsl": {
    "h": 100,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37621,
    "c": 0.09181,
    "h": 136.8
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#284C16
secondary
#6B3A84
accent
#49DEAD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284C16

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

Preview Lab → · Contrast checker → · Palette generator →

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