#28643C#28643C

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

Color values

HEX#28643C
RGBrgb(40, 100, 60)
HSLhsl(140, 43%, 27%)
HSVhsv(140, 60%, 39%)
CMYKcmyk(60%, 0%, 40%, 60.8%)
CIE-LABlab(37.65, -29.45, 17.01)
CIE-LCHlch(37.65, 34.01, 149.99°)
OKLaboklab(45.23% -0.0798 0.0425)
OKLCHoklch(45.23% 0.09 152)
XYZxyz(6.2474, 9.8911, 5.8540)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28643C #642850
analogous
#326428 #28643C #28645A
triadic
#28643C #3C2864 #643C28
tetradic
#28643C #283264 #642850 #645A28
square
#28643C #283264 #642850 #645A28
split-complementary
#28643C #5A2864 #642832
monochromatic
#09160D #173822 #28643C #399056 #4EB872

Accessibility & contrast

On white

7.05
#28643C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#28643C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28643C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28643C#FFFFFF#000000##FFFFFF
##28643C1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645C39
Deuteranopia (green-blind)
#5C563F
Tritanopia (blue-blind)
#17635A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #28643c;
/* rgb */ color: rgb(40, 100, 60);
/* oklch */ color: oklch(45.2% 0.090 152.0);
Tailwind
colors: {
  custom: {
    50: '#689172',
    500: '#28643c',
    950: '#000000',
  },
}
SCSS
$custom: #28643c;
$custom-light: #689172;
$custom-dark: #000000;
JSON
{
  "hex": "#28643c",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 60
  },
  "hsl": {
    "h": 140,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.45232,
    "c": 0.09043,
    "h": 152
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#28643C
secondary
#97517F
accent
#55A9D3
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060D08
muted
#7A7D7B

Preview Lab

Preview with #28643C

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

Preview Lab → · Contrast checker → · Palette generator →

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