#284C19#284C19

#284C19 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.7% C 0.089 H 137.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#284C19
RGBrgb(40, 76, 25)
HSLhsl(102, 50%, 20%)
HSVhsv(102, 67%, 30%)
CMYKcmyk(47.4%, 0%, 67.1%, 70.2%)
CIE-LABlab(28.62, -23.86, 25.73)
CIE-LCHlch(28.62, 35.09, 132.84°)
OKLaboklab(37.66% -0.0658 0.06)
OKLCHoklch(37.66% 0.089 137.6)
XYZxyz(3.6349, 5.6900, 1.8263)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C19 #3D194C
analogous
#424C19 #284C19 #194C24
triadic
#284C19 #19284C #4C1928
tetradic
#284C19 #19424C #3D194C #4C2419
square
#284C19 #19424C #3D194C #4C2419
split-complementary
#284C19 #24194C #4C1942
monochromatic
#0C1708 #101E0A #284C19 #407A28 #58A837

Accessibility & contrast

On white

9.82
#284C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284C19
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C19#FFFFFF#000000##FFFFFF
##284C191.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284c19;
/* rgb */ color: rgb(40, 76, 25);
/* oklch */ color: oklch(37.7% 0.089 137.6);
Tailwind
colors: {
  custom: {
    50: '#657e58',
    500: '#284c19',
    950: '#000000',
  },
}
SCSS
$custom: #284c19;
$custom-light: #657e58;
$custom-dark: #000000;
JSON
{
  "hex": "#284c19",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 25
  },
  "hsl": {
    "h": 102.353,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37657,
    "c": 0.08906,
    "h": 137.6
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#284C19
secondary
#6E3E82
accent
#4EDAB1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284C19

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

Preview Lab → · Contrast checker → · Palette generator →

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