#284228#284228

#284228 is a dark, muted green. Relative luminance 0.045; OKLCH L 35.0% C 0.055 H 144.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#284228
RGBrgb(40, 66, 40)
HSLhsl(120, 25%, 21%)
HSVhsv(120, 39%, 26%)
CMYKcmyk(39.4%, 0%, 39.4%, 74.1%)
CIE-LABlab(25.26, -16.30, 12.77)
CIE-LCHlch(25.26, 20.71, 141.92°)
OKLaboklab(35% -0.0444 0.0319)
OKLCHoklch(35% 0.055 144.3)
XYZxyz(3.2061, 4.5006, 2.7068)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284228 #422842
analogous
#354228 #284228 #284235
triadic
#284228 #282842 #422828
tetradic
#284228 #283542 #422842 #423528
square
#284228 #283542 #422842 #423528
split-complementary
#284228 #352842 #422835
monochromatic
#0C130C #111C11 #284228 #3F683F #568E56

Accessibility & contrast

On white

11.05
#284228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#284228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284228
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284228#FFFFFF#000000##FFFFFF
##2842281.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D26
Deuteranopia (green-blind)
#3F3B29
Tritanopia (blue-blind)
#25413B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #284228;
/* rgb */ color: rgb(40, 66, 40);
/* oklch */ color: oklch(35.0% 0.055 144.3);
Tailwind
colors: {
  custom: {
    50: '#637662',
    500: '#284228',
    950: '#000000',
  },
}
SCSS
$custom: #284228;
$custom-light: #637662;
$custom-dark: #000000;
JSON
{
  "hex": "#284228",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35001,
    "c": 0.05471,
    "h": 144.3
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#284228
secondary
#745274
accent
#67C1C1
background
#F5F7F5
surface
#EAEDEA
border
#C6C8C6
text
#050805
muted
#797B79

Preview Lab

Preview with #284228

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

Preview Lab → · Contrast checker → · Palette generator →

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