#28643B#28643B

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

Color values

HEX#28643B
RGBrgb(40, 100, 59)
HSLhsl(139, 43%, 27%)
HSVhsv(139, 60%, 39%)
CMYKcmyk(60%, 0%, 41%, 60.8%)
CIE-LABlab(37.63, -29.65, 17.57)
CIE-LCHlch(37.63, 34.47, 149.34°)
OKLaboklab(45.21% -0.0803 0.0438)
OKLCHoklch(45.21% 0.092 151.4)
XYZxyz(6.2212, 9.8807, 5.7161)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28643B #642851
analogous
#336428 #28643B #286459
triadic
#28643B #3B2864 #643B28
tetradic
#28643B #283364 #642851 #645928
square
#28643B #283364 #642851 #645928
split-complementary
#28643B #592864 #642833
monochromatic
#09160D #173821 #28643B #399055 #4EB870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28643B#FFFFFF#000000##FFFFFF
##28643B1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645C38
Deuteranopia (green-blind)
#5C563E
Tritanopia (blue-blind)
#18625A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #28643b;
/* rgb */ color: rgb(40, 100, 59);
/* oklch */ color: oklch(45.2% 0.092 151.4);
Tailwind
colors: {
  custom: {
    50: '#689171',
    500: '#28643b',
    950: '#000000',
  },
}
SCSS
$custom: #28643b;
$custom-light: #689171;
$custom-dark: #000000;
JSON
{
  "hex": "#28643b",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 59
  },
  "hsl": {
    "h": 139,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4521,
    "c": 0.09151,
    "h": 151.4
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#28643B
secondary
#975181
accent
#55ABD3
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060D07
muted
#7A7D7A

Preview Lab

Preview with #28643B

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

Preview Lab → · Contrast checker → · Palette generator →

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