#28663B#28663B

#28663B is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.095 H 151.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#28663B
RGBrgb(40, 102, 59)
HSLhsl(138, 44%, 28%)
HSVhsv(138, 61%, 40%)
CMYKcmyk(60.8%, 0%, 42.2%, 60%)
CIE-LABlab(38.32, -30.56, 18.49)
CIE-LCHlch(38.32, 35.72, 148.83°)
OKLaboklab(45.78% -0.0828 0.0459)
OKLCHoklch(45.78% 0.095 151)
XYZxyz(6.4154, 10.2690, 5.7809)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28663B #662853
analogous
#346628 #28663B #28665A
triadic
#28663B #3B2866 #663B28
tetradic
#28663B #283466 #662853 #665A28
square
#28663B #283466 #662853 #665A28
split-complementary
#28663B #5A2866 #662834
monochromatic
#09160D #173A22 #28663B #399254 #4FBA6F

Accessibility & contrast

On white

6.88
#28663B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#28663B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28663B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28663B#FFFFFF#000000##FFFFFF
##28663B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E38
Deuteranopia (green-blind)
#5E583E
Tritanopia (blue-blind)
#17645B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #28663b;
/* rgb */ color: rgb(40, 102, 59);
/* oklch */ color: oklch(45.8% 0.095 151.0);
Tailwind
colors: {
  custom: {
    50: '#689271',
    500: '#28663b',
    950: '#000000',
  },
}
SCSS
$custom: #28663b;
$custom-light: #689271;
$custom-dark: #000000;
JSON
{
  "hex": "#28663b",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 59
  },
  "hsl": {
    "h": 138.387,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.09466,
    "h": 151
  },
  "luminance": 0.1027
}

Semantic roles & 50–950 ramp

primary
#28663B
secondary
#995183
accent
#54ACD3
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #28663B

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

Preview Lab → · Contrast checker → · Palette generator →

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