#28402A#28402A

#28402A is a dark, muted green. Relative luminance 0.043; OKLCH L 34.5% C 0.048 H 146.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#28402A
RGBrgb(40, 64, 42)
HSLhsl(125, 23%, 20%)
HSVhsv(125, 38%, 25%)
CMYKcmyk(37.5%, 0%, 34.4%, 74.9%)
CIE-LABlab(24.59, -14.76, 10.59)
CIE-LCHlch(24.59, 18.17, 144.36°)
OKLaboklab(34.47% -0.0403 0.0267)
OKLCHoklch(34.47% 0.048 146.4)
XYZxyz(3.1262, 4.2849, 2.8524)
Luminance0.0428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28402A #40283E
analogous
#324028 #28402A #284036
triadic
#28402A #2A2840 #402A28
tetradic
#28402A #283240 #40283E #403628
square
#28402A #283240 #40283E #403628
split-complementary
#28402A #362840 #402832
monochromatic
#0C130C #101A11 #28402A #406643 #578B5B

Accessibility & contrast

On white

11.31
#28402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#28402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28402A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28402A#FFFFFF#000000##FFFFFF
##28402A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C29
Deuteranopia (green-blind)
#3D392B
Tritanopia (blue-blind)
#253F3A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28402a;
/* rgb */ color: rgb(40, 64, 42);
/* oklch */ color: oklch(34.5% 0.048 146.4);
Tailwind
colors: {
  custom: {
    50: '#637563',
    500: '#28402a',
    950: '#000000',
  },
}
SCSS
$custom: #28402a;
$custom-light: #637563;
$custom-dark: #000000;
JSON
{
  "hex": "#28402a",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 125,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34473,
    "c": 0.04836,
    "h": 146.4
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#28402A
secondary
#72526F
accent
#68B8C0
background
#F5F7F5
surface
#EAEDEA
border
#C6C8C6
text
#050805
muted
#797B79

Preview Lab

Preview with #28402A

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

Preview Lab → · Contrast checker → · Palette generator →

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