#284B38#284B38

#284B38 is a dark, muted green. Relative luminance 0.058; OKLCH L 38.0% C 0.053 H 158.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#284B38
RGBrgb(40, 75, 56)
HSLhsl(147, 30%, 23%)
HSVhsv(147, 47%, 29%)
CMYKcmyk(46.7%, 0%, 25.3%, 70.6%)
CIE-LABlab(28.82, -17.77, 7.43)
CIE-LCHlch(28.82, 19.26, 157.31°)
OKLaboklab(38.01% -0.0491 0.019)
OKLCHoklch(38.01% 0.053 158.8)
XYZxyz(4.1047, 5.7685, 4.6378)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B38 #4B283B
analogous
#294B28 #284B38 #284B4A
triadic
#284B38 #38284B #4B3828
tetradic
#284B38 #28294B #4B283B #4B4A28
square
#284B38 #28294B #4B283B #4B4A28
split-complementary
#284B38 #4A284B #4B2829
monochromatic
#0B140F #13231A #284B38 #3D7356 #539B74

Accessibility & contrast

On white

9.75
#284B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#284B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B38
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B38#FFFFFF#000000##FFFFFF
##284B381.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4637
Deuteranopia (green-blind)
#454239
Tritanopia (blue-blind)
#204B46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284b38;
/* rgb */ color: rgb(40, 75, 56);
/* oklch */ color: oklch(38.0% 0.053 158.8);
Tailwind
colors: {
  custom: {
    50: '#647d6e',
    500: '#284b38',
    950: '#000000',
  },
}
SCSS
$custom: #284b38;
$custom-light: #647d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#284b38",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 56
  },
  "hsl": {
    "h": 147.429,
    "s": 30.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.38007,
    "c": 0.05263,
    "h": 158.8
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#284B38
secondary
#7D5169
accent
#6198C7
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050907
muted
#7A7B7A

Preview Lab

Preview with #284B38

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

Preview Lab → · Contrast checker → · Palette generator →

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