#28663C#28663C

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

Color values

HEX#28663C
RGBrgb(40, 102, 60)
HSLhsl(139, 44%, 28%)
HSVhsv(139, 61%, 40%)
CMYKcmyk(60.8%, 0%, 41.2%, 60%)
CIE-LABlab(38.34, -30.37, 17.93)
CIE-LCHlch(38.34, 35.26, 149.45°)
OKLaboklab(45.8% -0.0823 0.0446)
OKLCHoklch(45.8% 0.094 151.5)
XYZxyz(6.4416, 10.2795, 5.9188)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28663C #662852
analogous
#336628 #28663C #28665B
triadic
#28663C #3C2866 #663C28
tetradic
#28663C #283366 #662852 #665B28
square
#28663C #283366 #662852 #665B28
split-complementary
#28663C #5B2866 #662833
monochromatic
#09160D #173A22 #28663C #399256 #4FBA71

Accessibility & contrast

On white

6.87
#28663C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#28663C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28663C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28663C#FFFFFF#000000##FFFFFF
##28663C1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28663c;
/* rgb */ color: rgb(40, 102, 60);
/* oklch */ color: oklch(45.8% 0.094 151.5);
Tailwind
colors: {
  custom: {
    50: '#689272',
    500: '#28663c',
    950: '#000000',
  },
}
SCSS
$custom: #28663c;
$custom-light: #689272;
$custom-dark: #000000;
JSON
{
  "hex": "#28663c",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 60
  },
  "hsl": {
    "h": 139.355,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.458,
    "c": 0.09359,
    "h": 151.5
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#28663C
secondary
#995182
accent
#54AAD3
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #28663C

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

Preview Lab → · Contrast checker → · Palette generator →

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