#284830#284830

#284830 is a dark, muted green. Relative luminance 0.053; OKLCH L 36.9% C 0.056 H 150.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#284830
RGBrgb(40, 72, 48)
HSLhsl(135, 29%, 22%)
HSVhsv(135, 44%, 28%)
CMYKcmyk(44.4%, 0%, 33.3%, 71.8%)
CIE-LABlab(27.57, -17.95, 10.80)
CIE-LCHlch(27.57, 20.95, 148.98°)
OKLaboklab(36.93% -0.0491 0.0273)
OKLCHoklch(36.93% 0.056 150.9)
XYZxyz(3.7257, 5.2990, 3.6222)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284830 #482840
analogous
#304828 #284830 #284840
triadic
#284830 #302848 #483028
tetradic
#284830 #283048 #482840 #484028
square
#284830 #283048 #482840 #484028
split-complementary
#284830 #402848 #482830
monochromatic
#0B140D #122116 #284830 #3E6F4A #549764

Accessibility & contrast

On white

10.20
#284830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#284830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284830
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284830#FFFFFF#000000##FFFFFF
##2848301.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48432F
Deuteranopia (green-blind)
#434031
Tritanopia (blue-blind)
#224742
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #284830;
/* rgb */ color: rgb(40, 72, 48);
/* oklch */ color: oklch(36.9% 0.056 150.9);
Tailwind
colors: {
  custom: {
    50: '#647b68',
    500: '#284830',
    950: '#000000',
  },
}
SCSS
$custom: #284830;
$custom-light: #647b68;
$custom-dark: #000000;
JSON
{
  "hex": "#284830",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 48
  },
  "hsl": {
    "h": 135,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3693,
    "c": 0.05615,
    "h": 150.9
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#284830
secondary
#7A5270
accent
#63ACC5
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050906
muted
#7A7B7A

Preview Lab

Preview with #284830

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

Preview Lab → · Contrast checker → · Palette generator →

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