#28642E#28642E

#28642E is a dark, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.105 H 145.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#28642E
RGBrgb(40, 100, 46)
HSLhsl(126, 43%, 27%)
HSVhsv(126, 60%, 39%)
CMYKcmyk(60%, 0%, 54%, 60.8%)
CIE-LABlab(37.41, -31.97, 24.75)
CIE-LCHlch(37.41, 40.43, 142.26°)
OKLaboklab(44.96% -0.0866 0.0597)
OKLCHoklch(44.96% 0.105 145.4)
XYZxyz(5.9250, 9.7622, 4.1563)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28642E #64285E
analogous
#406428 #28642E #28644C
triadic
#28642E #2E2864 #642E28
tetradic
#28642E #284064 #64285E #644C28
square
#28642E #284064 #64285E #644C28
split-complementary
#28642E #4C2864 #642840
monochromatic
#09160A #17381A #28642E #399042 #4EB859

Accessibility & contrast

On white

7.11
#28642E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#28642E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28642E
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28642E#FFFFFF#000000##FFFFFF
##28642E1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B29
Deuteranopia (green-blind)
#5E5632
Tritanopia (blue-blind)
#1D6258
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28642e;
/* rgb */ color: rgb(40, 100, 46);
/* oklch */ color: oklch(45.0% 0.105 145.4);
Tailwind
colors: {
  custom: {
    50: '#689168',
    500: '#28642e',
    950: '#000000',
  },
}
SCSS
$custom: #28642e;
$custom-light: #689168;
$custom-dark: #000000;
JSON
{
  "hex": "#28642e",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 46
  },
  "hsl": {
    "h": 126,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.44964,
    "c": 0.10524,
    "h": 145.4
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#28642E
secondary
#975190
accent
#55C6D3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070D06
muted
#7A7D7A

Preview Lab

Preview with #28642E

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

Preview Lab → · Contrast checker → · Palette generator →

#28642E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva