#284B19#284B19

#284B19 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.087 H 137.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#284B19
RGBrgb(40, 75, 25)
HSLhsl(102, 50%, 20%)
HSVhsv(102, 67%, 29%)
CMYKcmyk(46.7%, 0%, 66.7%, 70.6%)
CIE-LABlab(28.26, -23.37, 25.32)
CIE-LCHlch(28.26, 34.46, 132.70°)
OKLaboklab(37.36% -0.0645 0.0592)
OKLCHoklch(37.36% 0.087 137.5)
XYZxyz(3.5665, 5.5533, 1.8035)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B19 #3C194B
analogous
#414B19 #284B19 #194B23
triadic
#284B19 #19284B #4B1928
tetradic
#284B19 #19414B #3C194B #4B2319
square
#284B19 #19414B #3C194B #4B2319
split-complementary
#284B19 #23194B #4B1941
monochromatic
#0C1708 #101D0A #284B19 #407928 #59A738

Accessibility & contrast

On white

9.95
#284B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#284B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B19
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B19#FFFFFF#000000##FFFFFF
##284B191.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4514
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#264840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284b19;
/* rgb */ color: rgb(40, 75, 25);
/* oklch */ color: oklch(37.4% 0.087 137.5);
Tailwind
colors: {
  custom: {
    50: '#657d58',
    500: '#284b19',
    950: '#000000',
  },
}
SCSS
$custom: #284b19;
$custom-light: #657d58;
$custom-dark: #000000;
JSON
{
  "hex": "#284b19",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 25
  },
  "hsl": {
    "h": 102,
    "s": 50,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37362,
    "c": 0.08749,
    "h": 137.5
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#284B19
secondary
#6D3E81
accent
#4EDAB0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284B19

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

Preview Lab → · Contrast checker → · Palette generator →

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