#284B2C#284B2C

#284B2C is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.7% C 0.066 H 146.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#284B2C
RGBrgb(40, 75, 44)
HSLhsl(127, 30%, 23%)
HSVhsv(127, 47%, 29%)
CMYKcmyk(46.7%, 0%, 41.3%, 70.6%)
CIE-LABlab(28.55, -20.38, 14.62)
CIE-LCHlch(28.55, 25.08, 144.34°)
OKLaboklab(37.7% -0.0555 0.0364)
OKLCHoklch(37.7% 0.066 146.7)
XYZxyz(3.8456, 5.6649, 3.2732)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B2C #4B2847
analogous
#364B28 #284B2C #284B3D
triadic
#284B2C #2C284B #4B2C28
tetradic
#284B2C #28364B #4B2847 #4B3D28
square
#284B2C #28364B #4B2847 #4B3D28
split-complementary
#284B2C #3D284B #4B2836
monochromatic
#0B140C #132315 #284B2C #3D7343 #539B5B

Accessibility & contrast

On white

9.85
#284B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#284B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B2C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B2C#FFFFFF#000000##FFFFFF
##284B2C1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C452A
Deuteranopia (green-blind)
#47422E
Tritanopia (blue-blind)
#234943
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284b2c;
/* rgb */ color: rgb(40, 75, 44);
/* oklch */ color: oklch(37.7% 0.066 146.7);
Tailwind
colors: {
  custom: {
    50: '#647d65',
    500: '#284b2c',
    950: '#000000',
  },
}
SCSS
$custom: #284b2c;
$custom-light: #647d65;
$custom-dark: #000000;
JSON
{
  "hex": "#284b2c",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 44
  },
  "hsl": {
    "h": 126.857,
    "s": 30.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.37699,
    "c": 0.06635,
    "h": 146.7
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#284B2C
secondary
#7D5178
accent
#61BBC7
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050905
muted
#7A7B7A

Preview Lab

Preview with #284B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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