#28422C#28422C

#28422C is a dark, muted green. Relative luminance 0.045; OKLCH L 35.1% C 0.050 H 148.3°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#28422C
RGBrgb(40, 66, 44)
HSLhsl(129, 25%, 21%)
HSVhsv(129, 39%, 26%)
CMYKcmyk(39.4%, 0%, 33.3%, 74.1%)
CIE-LABlab(25.35, -15.48, 10.33)
CIE-LCHlch(25.35, 18.61, 146.29°)
OKLaboklab(35.1% -0.0423 0.0261)
OKLCHoklch(35.1% 0.05 148.3)
XYZxyz(3.2777, 4.5292, 3.0839)
Luminance0.0453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28422C #42283E
analogous
#314228 #28422C #284239
triadic
#28422C #2C2842 #422C28
tetradic
#28422C #283142 #42283E #423928
square
#28422C #283142 #42283E #423928
split-complementary
#28422C #392842 #422831
monochromatic
#0C130D #111C13 #28422C #3F6845 #568E5F

Accessibility & contrast

On white

11.02
#28422C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#28422C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28422C
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28422C#FFFFFF#000000##FFFFFF
##28422C1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E2B
Deuteranopia (green-blind)
#3F3B2D
Tritanopia (blue-blind)
#24413C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #28422c;
/* rgb */ color: rgb(40, 66, 44);
/* oklch */ color: oklch(35.1% 0.050 148.3);
Tailwind
colors: {
  custom: {
    50: '#637665',
    500: '#28422c',
    950: '#000000',
  },
}
SCSS
$custom: #28422c;
$custom-light: #637665;
$custom-dark: #000000;
JSON
{
  "hex": "#28422c",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 44
  },
  "hsl": {
    "h": 129.231,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.351,
    "c": 0.04971,
    "h": 148.3
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#28422C
secondary
#74526F
accent
#67B3C1
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050805
muted
#797B7A

Preview Lab

Preview with #28422C

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

Preview Lab → · Contrast checker → · Palette generator →

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