#28422A#28422A

#28422A is a dark, muted green. Relative luminance 0.045; OKLCH L 35.0% C 0.052 H 146.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#28422A
RGBrgb(40, 66, 42)
HSLhsl(125, 25%, 21%)
HSVhsv(125, 39%, 26%)
CMYKcmyk(39.4%, 0%, 36.4%, 74.1%)
CIE-LABlab(25.30, -15.90, 11.55)
CIE-LCHlch(25.30, 19.65, 144.00°)
OKLaboklab(35.05% -0.0434 0.0291)
OKLCHoklch(35.05% 0.052 146.2)
XYZxyz(3.2410, 4.5145, 2.8907)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28422A #422840
analogous
#334228 #28422A #284237
triadic
#28422A #2A2842 #422A28
tetradic
#28422A #283342 #422840 #423728
square
#28422A #283342 #422840 #423728
split-complementary
#28422A #372842 #422833
monochromatic
#0C130C #111C12 #28422A #3F6842 #568E5A

Accessibility & contrast

On white

11.04
#28422A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#28422A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28422A
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28422A#FFFFFF#000000##FFFFFF
##28422A1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E28
Deuteranopia (green-blind)
#3F3B2B
Tritanopia (blue-blind)
#25413C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #28422a;
/* rgb */ color: rgb(40, 66, 42);
/* oklch */ color: oklch(35.0% 0.052 146.2);
Tailwind
colors: {
  custom: {
    50: '#637663',
    500: '#28422a',
    950: '#000000',
  },
}
SCSS
$custom: #28422a;
$custom-light: #637663;
$custom-dark: #000000;
JSON
{
  "hex": "#28422a",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 42
  },
  "hsl": {
    "h": 124.615,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35049,
    "c": 0.05221,
    "h": 146.2
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

primary
#28422A
secondary
#745271
accent
#67BAC1
background
#F5F7F5
surface
#EAEDEA
border
#C6C8C6
text
#050805
muted
#797B79

Preview Lab

Preview with #28422A

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

Preview Lab → · Contrast checker → · Palette generator →

#28422A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva