#284A19#284A19

#284A19 is a dark, moderate green. Relative luminance 0.054; OKLCH L 37.1% C 0.086 H 137.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#284A19
RGBrgb(40, 74, 25)
HSLhsl(102, 49%, 19%)
HSVhsv(102, 66%, 29%)
CMYKcmyk(45.9%, 0%, 66.2%, 71%)
CIE-LABlab(27.90, -22.87, 24.91)
CIE-LCHlch(27.90, 33.82, 132.55°)
OKLaboklab(37.07% -0.0631 0.0583)
OKLCHoklch(37.07% 0.086 137.3)
XYZxyz(3.4992, 5.4187, 1.7810)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A19 #3B194A
analogous
#414A19 #284A19 #194A23
triadic
#284A19 #19284A #4A1928
tetradic
#284A19 #19414A #3B194A #4A2319
square
#284A19 #19414A #3B194A #4A2319
split-complementary
#284A19 #23194A #4A1941
monochromatic
#0C1708 #0F1C0A #284A19 #417828 #59A538

Accessibility & contrast

On white

10.08
#284A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284A19
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A19#FFFFFF#000000##FFFFFF
##284A191.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4414
Deuteranopia (green-blind)
#48411D
Tritanopia (blue-blind)
#26473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284a19;
/* rgb */ color: rgb(40, 74, 25);
/* oklch */ color: oklch(37.1% 0.086 137.3);
Tailwind
colors: {
  custom: {
    50: '#657d58',
    500: '#284a19',
    950: '#000000',
  },
}
SCSS
$custom: #284a19;
$custom-light: #657d58;
$custom-dark: #000000;
JSON
{
  "hex": "#284a19",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 25
  },
  "hsl": {
    "h": 101.633,
    "s": 49.495,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37068,
    "c": 0.0859,
    "h": 137.3
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#284A19
secondary
#6C3E80
accent
#4FD9AF
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284A19

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

Preview Lab → · Contrast checker → · Palette generator →

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