#284516#284516

#284516 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.081 H 135.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#284516
RGBrgb(40, 69, 22)
HSLhsl(97, 52%, 18%)
HSVhsv(97, 68%, 27%)
CMYKcmyk(42%, 0%, 68.1%, 72.9%)
CIE-LABlab(26.05, -20.70, 24.43)
CIE-LCHlch(26.05, 32.02, 130.28°)
OKLaboklab(35.55% -0.0574 0.0569)
OKLCHoklch(35.55% 0.081 135.3)
XYZxyz(3.1479, 4.7651, 1.5128)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284516 #331645
analogous
#3F4516 #284516 #16451B
triadic
#284516 #162845 #451628
tetradic
#284516 #163F45 #331645 #451B16
square
#284516 #163F45 #331645 #451B16
split-complementary
#284516 #1B1645 #45163F
monochromatic
#0D1707 #0D1707 #284516 #437325 #5EA234

Accessibility & contrast

On white

10.75
#284516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#284516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284516
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284516#FFFFFF#000000##FFFFFF
##2845161.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F11
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#27423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #284516;
/* rgb */ color: rgb(40, 69, 22);
/* oklch */ color: oklch(35.6% 0.081 135.3);
Tailwind
colors: {
  custom: {
    50: '#647955',
    500: '#284516',
    950: '#000000',
  },
}
SCSS
$custom: #284516;
$custom-light: #647955;
$custom-dark: #000000;
JSON
{
  "hex": "#284516",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 22
  },
  "hsl": {
    "h": 97.021,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35553,
    "c": 0.08082,
    "h": 135.3
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#284516
secondary
#633A7C
accent
#4DDBA5
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284516

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

Preview Lab → · Contrast checker → · Palette generator →

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