#284420#284420

#284420 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.4% C 0.068 H 139.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#284420
RGBrgb(40, 68, 32)
HSLhsl(107, 36%, 20%)
HSVhsv(107, 53%, 27%)
CMYKcmyk(41.2%, 0%, 52.9%, 73.3%)
CIE-LABlab(25.83, -18.81, 18.47)
CIE-LCHlch(25.83, 26.36, 135.53°)
OKLaboklab(35.42% -0.0515 0.0448)
OKLCHoklch(35.42% 0.068 139)
XYZxyz(3.2028, 4.6895, 2.1026)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284420 #3C2044
analogous
#3A4420 #284420 #20442A
triadic
#284420 #202844 #442028
tetradic
#284420 #203A44 #3C2044 #442A20
square
#284420 #203A44 #3C2044 #442A20
split-complementary
#284420 #2A2044 #44203A
monochromatic
#0C150A #101A0C #284420 #406E34 #599747

Accessibility & contrast

On white

10.84
#284420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#284420 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284420
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284420#FFFFFF#000000##FFFFFF
##2844201.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#423C22
Tritanopia (blue-blind)
#26423B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #284420;
/* rgb */ color: rgb(40, 68, 32);
/* oklch */ color: oklch(35.4% 0.068 139.0);
Tailwind
colors: {
  custom: {
    50: '#64785c',
    500: '#284420',
    950: '#000000',
  },
}
SCSS
$custom: #284420;
$custom-light: #64785c;
$custom-dark: #000000;
JSON
{
  "hex": "#284420",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 32
  },
  "hsl": {
    "h": 106.667,
    "s": 36,
    "l": 19.608
  },
  "oklch": {
    "l": 0.35415,
    "c": 0.06824,
    "h": 139
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#284420
secondary
#6D4878
accent
#5CCCB3
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050904
muted
#7A7B79

Preview Lab

Preview with #284420

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

Preview Lab → · Contrast checker → · Palette generator →

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