#28342A#28342A

#28342A is a dark, muted green. Relative luminance 0.031; OKLCH L 31.1% C 0.024 H 149.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#28342A
RGBrgb(40, 52, 42)
HSLhsl(130, 13%, 18%)
HSVhsv(130, 23%, 20%)
CMYKcmyk(23.1%, 0%, 19.2%, 79.6%)
CIE-LABlab(20.34, -7.52, 4.69)
CIE-LCHlch(20.34, 8.86, 148.06°)
OKLaboklab(31.05% -0.0207 0.0121)
OKLCHoklch(31.05% 0.024 149.7)
XYZxyz(2.5209, 3.0742, 2.6506)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28342A #342832
analogous
#2C3428 #28342A #283430
triadic
#28342A #2A2834 #342A28
tetradic
#28342A #282C34 #342832 #343028
square
#28342A #282C34 #342832 #343028
split-complementary
#28342A #302834 #34282C
monochromatic
#0D110E #0D110E #28342A #435746 #5D7962

Accessibility & contrast

On white

13.00
#28342A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#28342A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28342A
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28342A#FFFFFF#000000##FFFFFF
##28342A1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343229
Deuteranopia (green-blind)
#32312B
Tritanopia (blue-blind)
#273331
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28342a;
/* rgb */ color: rgb(40, 52, 42);
/* oklch */ color: oklch(31.1% 0.024 149.7);
Tailwind
colors: {
  custom: {
    50: '#626b63',
    500: '#28342a',
    950: '#000000',
  },
}
SCSS
$custom: #28342a;
$custom-light: #626b63;
$custom-dark: #000000;
JSON
{
  "hex": "#28342a",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 130,
    "s": 13.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.31054,
    "c": 0.024,
    "h": 149.7
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#28342A
secondary
#645461
accent
#72ABB6
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050605
muted
#797A79

Preview Lab

Preview with #28342A

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

Preview Lab → · Contrast checker → · Palette generator →

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