#28663D#28663D

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

Color values

HEX#28663D
RGBrgb(40, 102, 61)
HSLhsl(140, 44%, 28%)
HSVhsv(140, 61%, 40%)
CMYKcmyk(60.8%, 0%, 40.2%, 60%)
CIE-LABlab(38.36, -30.17, 17.36)
CIE-LCHlch(38.36, 34.81, 150.08°)
OKLaboklab(45.82% -0.0818 0.0433)
OKLCHoklch(45.82% 0.093 152.1)
XYZxyz(6.4683, 10.2902, 6.0593)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28663D #662851
analogous
#326628 #28663D #28665C
triadic
#28663D #3D2866 #663D28
tetradic
#28663D #283266 #662851 #665C28
square
#28663D #283266 #662851 #665C28
split-complementary
#28663D #5C2866 #662832
monochromatic
#09160D #173A23 #28663D #399257 #4FBA73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28663D#FFFFFF#000000##FFFFFF
##28663D1.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)
#665E3A
Deuteranopia (green-blind)
#5E5840
Tritanopia (blue-blind)
#16655C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #28663d;
/* rgb */ color: rgb(40, 102, 61);
/* oklch */ color: oklch(45.8% 0.093 152.1);
Tailwind
colors: {
  custom: {
    50: '#689273',
    500: '#28663d',
    950: '#000000',
  },
}
SCSS
$custom: #28663d;
$custom-light: #689273;
$custom-dark: #000000;
JSON
{
  "hex": "#28663d",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 61
  },
  "hsl": {
    "h": 140.323,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45822,
    "c": 0.09254,
    "h": 152.1
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#28663D
secondary
#995180
accent
#54A8D3
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #28663D

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

Preview Lab → · Contrast checker → · Palette generator →

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