#284C38#284C38

#284C38 is a dark, muted green. Relative luminance 0.059; OKLCH L 38.3% C 0.054 H 158.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#284C38
RGBrgb(40, 76, 56)
HSLhsl(147, 31%, 23%)
HSVhsv(147, 47%, 30%)
CMYKcmyk(47.4%, 0%, 26.3%, 70.2%)
CIE-LABlab(29.17, -18.32, 7.92)
CIE-LCHlch(29.17, 19.96, 156.61°)
OKLaboklab(38.29% -0.0505 0.0203)
OKLCHoklch(38.29% 0.054 158.1)
XYZxyz(4.1730, 5.9052, 4.6605)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C38 #4C283C
analogous
#2A4C28 #284C38 #284C4A
triadic
#284C38 #38284C #4C3828
tetradic
#284C38 #282A4C #4C283C #4C4A28
square
#284C38 #282A4C #4C283C #4C4A28
split-complementary
#284C38 #4A284C #4C282A
monochromatic
#0B140F #13241A #284C38 #3D7456 #529C73

Accessibility & contrast

On white

9.63
#284C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#284C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284C38
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C38#FFFFFF#000000##FFFFFF
##284C381.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4737
Deuteranopia (green-blind)
#464339
Tritanopia (blue-blind)
#1F4C46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284c38;
/* rgb */ color: rgb(40, 76, 56);
/* oklch */ color: oklch(38.3% 0.054 158.1);
Tailwind
colors: {
  custom: {
    50: '#647e6e',
    500: '#284c38',
    950: '#000000',
  },
}
SCSS
$custom: #284c38;
$custom-light: #647e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#284c38",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 56
  },
  "hsl": {
    "h": 146.667,
    "s": 31.034,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38292,
    "c": 0.05441,
    "h": 158.1
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#284C38
secondary
#7E516A
accent
#619AC7
background
#F6F7F6
surface
#EBEEEC
border
#C6C9C7
text
#050A07
muted
#7A7C7A

Preview Lab

Preview with #284C38

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

Preview Lab → · Contrast checker → · Palette generator →

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