#284A16#284A16

#284A16 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.089 H 136.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#284A16
RGBrgb(40, 74, 22)
HSLhsl(99, 54%, 19%)
HSVhsv(99, 70%, 29%)
CMYKcmyk(45.9%, 0%, 70.3%, 71%)
CIE-LABlab(27.86, -23.22, 26.44)
CIE-LCHlch(27.86, 35.18, 131.29°)
OKLaboklab(37.03% -0.0643 0.0612)
OKLCHoklch(37.03% 0.089 136.4)
XYZxyz(3.4686, 5.4064, 1.6197)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A16 #38164A
analogous
#424A16 #284A16 #164A1E
triadic
#284A16 #16284A #4A1628
tetradic
#284A16 #16424A #38164A #4A1E16
square
#284A16 #16424A #38164A #4A1E16
split-complementary
#284A16 #1E164A #4A1642
monochromatic
#0D1807 #0F1B08 #284A16 #427924 #5BA832

Accessibility & contrast

On white

10.09
#284A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#284A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A16
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A16#FFFFFF#000000##FFFFFF
##284A161.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4410
Deuteranopia (green-blind)
#48411A
Tritanopia (blue-blind)
#27473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284a16;
/* rgb */ color: rgb(40, 74, 22);
/* oklch */ color: oklch(37.0% 0.089 136.4);
Tailwind
colors: {
  custom: {
    50: '#657d56',
    500: '#284a16',
    950: '#000000',
  },
}
SCSS
$custom: #284a16;
$custom-light: #657d56;
$custom-dark: #000000;
JSON
{
  "hex": "#284a16",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 99.231,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3703,
    "c": 0.08873,
    "h": 136.4
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#284A16
secondary
#693A82
accent
#4ADEAB
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284A16

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

Preview Lab → · Contrast checker → · Palette generator →

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