#284836#284836

#284836 is a dark, muted green. Relative luminance 0.054; OKLCH L 37.1% C 0.049 H 158.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#284836
RGBrgb(40, 72, 54)
HSLhsl(146, 29%, 22%)
HSVhsv(146, 44%, 28%)
CMYKcmyk(44.4%, 0%, 25%, 71.8%)
CIE-LABlab(27.71, -16.59, 7.16)
CIE-LCHlch(27.71, 18.07, 156.65°)
OKLaboklab(37.09% -0.0458 0.0184)
OKLCHoklch(37.09% 0.049 158.2)
XYZxyz(3.8580, 5.3519, 4.3190)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284836 #48283A
analogous
#2A4828 #284836 #284846
triadic
#284836 #362848 #483628
tetradic
#284836 #282A48 #48283A #484628
square
#284836 #282A48 #48283A #484628
split-complementary
#284836 #462848 #48282A
monochromatic
#0B140F #122118 #284836 #3E6F54 #549771

Accessibility & contrast

On white

10.14
#284836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#284836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284836
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284836#FFFFFF#000000##FFFFFF
##2848361.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474435
Deuteranopia (green-blind)
#424037
Tritanopia (blue-blind)
#214843
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #284836;
/* rgb */ color: rgb(40, 72, 54);
/* oklch */ color: oklch(37.1% 0.049 158.2);
Tailwind
colors: {
  custom: {
    50: '#647b6d',
    500: '#284836',
    950: '#000000',
  },
}
SCSS
$custom: #284836;
$custom-light: #647b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#284836",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 54
  },
  "hsl": {
    "h": 146.25,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.37094,
    "c": 0.04937,
    "h": 158.2
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#284836
secondary
#7A5268
accent
#639AC5
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#050907
muted
#7A7B7A

Preview Lab

Preview with #284836

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

Preview Lab → · Contrast checker → · Palette generator →

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