#284030#284030

#284030 is a dark, muted green. Relative luminance 0.043; OKLCH L 34.6% C 0.041 H 154.5°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#284030
RGBrgb(40, 64, 48)
HSLhsl(140, 23%, 20%)
HSVhsv(140, 38%, 25%)
CMYKcmyk(37.5%, 0%, 25%, 74.9%)
CIE-LABlab(24.74, -13.44, 6.88)
CIE-LCHlch(24.74, 15.10, 152.88°)
OKLaboklab(34.64% -0.0371 0.0176)
OKLCHoklch(34.64% 0.041 154.5)
XYZxyz(3.2418, 4.3311, 3.4609)
Luminance0.0433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284030 #402838
analogous
#2C4028 #284030 #28403C
triadic
#284030 #302840 #403028
tetradic
#284030 #282C40 #402838 #403C28
square
#284030 #282C40 #402838 #403C28
split-complementary
#284030 #3C2840 #40282C
monochromatic
#0C130E #101A14 #284030 #40664C #578B68

Accessibility & contrast

On white

11.25
#284030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#284030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284030
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284030#FFFFFF#000000##FFFFFF
##2840301.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2F
Deuteranopia (green-blind)
#3C3A31
Tritanopia (blue-blind)
#243F3C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #284030;
/* rgb */ color: rgb(40, 64, 48);
/* oklch */ color: oklch(34.6% 0.041 154.5);
Tailwind
colors: {
  custom: {
    50: '#637568',
    500: '#284030',
    950: '#000000',
  },
}
SCSS
$custom: #284030;
$custom-light: #637568;
$custom-dark: #000000;
JSON
{
  "hex": "#284030",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 48
  },
  "hsl": {
    "h": 140,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34638,
    "c": 0.04104,
    "h": 154.5
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#284030
secondary
#725267
accent
#68A2C0
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050806
muted
#797B7A

Preview Lab

Preview with #284030

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

Preview Lab → · Contrast checker → · Palette generator →

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