#28643A#28643A

#28643A is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.2% C 0.093 H 150.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#28643A
RGBrgb(40, 100, 58)
HSLhsl(138, 43%, 27%)
HSVhsv(138, 60%, 39%)
CMYKcmyk(60%, 0%, 42%, 60.8%)
CIE-LABlab(37.61, -29.85, 18.14)
CIE-LCHlch(37.61, 34.93, 148.72°)
OKLaboklab(45.19% -0.0808 0.0451)
OKLCHoklch(45.19% 0.093 150.9)
XYZxyz(6.1955, 9.8704, 5.5809)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28643A #642852
analogous
#346428 #28643A #286458
triadic
#28643A #3A2864 #643A28
tetradic
#28643A #283464 #642852 #645828
square
#28643A #283464 #642852 #645828
split-complementary
#28643A #582864 #642834
monochromatic
#09160D #173821 #28643A #399053 #4EB86E

Accessibility & contrast

On white

7.06
#28643A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#28643A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28643A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28643A#FFFFFF#000000##FFFFFF
##28643A1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645C37
Deuteranopia (green-blind)
#5C563D
Tritanopia (blue-blind)
#186259
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28643a;
/* rgb */ color: rgb(40, 100, 58);
/* oklch */ color: oklch(45.2% 0.093 150.9);
Tailwind
colors: {
  custom: {
    50: '#689170',
    500: '#28643a',
    950: '#000000',
  },
}
SCSS
$custom: #28643a;
$custom-light: #689170;
$custom-dark: #000000;
JSON
{
  "hex": "#28643a",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 58
  },
  "hsl": {
    "h": 138,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.45189,
    "c": 0.09257,
    "h": 150.9
  },
  "luminance": 0.09871
}

Semantic roles & 50–950 ramp

primary
#28643A
secondary
#975182
accent
#55ADD3
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060D07
muted
#7A7D7A

Preview Lab

Preview with #28643A

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

Preview Lab → · Contrast checker → · Palette generator →

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