#28462C#28462C

#28462C is a dark, muted green. Relative luminance 0.050; OKLCH L 36.3% C 0.057 H 147.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#28462C
RGBrgb(40, 70, 44)
HSLhsl(128, 27%, 22%)
HSVhsv(128, 43%, 27%)
CMYKcmyk(42.9%, 0%, 37.1%, 72.5%)
CIE-LABlab(26.77, -17.70, 12.25)
CIE-LCHlch(26.77, 21.53, 145.31°)
OKLaboklab(36.25% -0.0483 0.0308)
OKLCHoklch(36.25% 0.057 147.5)
XYZxyz(3.5197, 5.0131, 3.1645)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28462C #462842
analogous
#334628 #28462C #28463B
triadic
#28462C #2C2846 #462C28
tetradic
#28462C #283346 #462842 #463B28
square
#28462C #283346 #462842 #463B28
split-complementary
#28462C #3B2846 #462833
monochromatic
#0B130C #121F14 #28462C #3E6D44 #55945D

Accessibility & contrast

On white

10.49
#28462C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#28462C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28462C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28462C#FFFFFF#000000##FFFFFF
##28462C1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47412A
Deuteranopia (green-blind)
#423E2E
Tritanopia (blue-blind)
#24453F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #28462c;
/* rgb */ color: rgb(40, 70, 44);
/* oklch */ color: oklch(36.3% 0.057 147.5);
Tailwind
colors: {
  custom: {
    50: '#637965',
    500: '#28462c',
    950: '#000000',
  },
}
SCSS
$custom: #28462c;
$custom-light: #637965;
$custom-dark: #000000;
JSON
{
  "hex": "#28462c",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 44
  },
  "hsl": {
    "h": 128,
    "s": 27.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.36253,
    "c": 0.05725,
    "h": 147.5
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#28462C
secondary
#785273
accent
#64B7C4
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#050905
muted
#7A7B7A

Preview Lab

Preview with #28462C

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

Preview Lab → · Contrast checker → · Palette generator →

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