#28663A#28663A

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

Color values

HEX#28663A
RGBrgb(40, 102, 58)
HSLhsl(137, 44%, 28%)
HSVhsv(137, 61%, 40%)
CMYKcmyk(60.8%, 0%, 43.1%, 60%)
CIE-LABlab(38.30, -30.76, 19.05)
CIE-LCHlch(38.30, 36.18, 148.23°)
OKLaboklab(45.76% -0.0833 0.0472)
OKLCHoklch(45.76% 0.096 150.4)
XYZxyz(6.3897, 10.2588, 5.6456)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28663A #662854
analogous
#356628 #28663A #286659
triadic
#28663A #3A2866 #663A28
tetradic
#28663A #283566 #662854 #665928
square
#28663A #283566 #662854 #665928
split-complementary
#28663A #592866 #662835
monochromatic
#09160C #173A21 #28663A #399253 #4FBA6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28663A#FFFFFF#000000##FFFFFF
##28663A1.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)
#675E37
Deuteranopia (green-blind)
#5E583D
Tritanopia (blue-blind)
#18645B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #28663a;
/* rgb */ color: rgb(40, 102, 58);
/* oklch */ color: oklch(45.8% 0.096 150.4);
Tailwind
colors: {
  custom: {
    50: '#689270',
    500: '#28663a',
    950: '#000000',
  },
}
SCSS
$custom: #28663a;
$custom-light: #689270;
$custom-dark: #000000;
JSON
{
  "hex": "#28663a",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 58
  },
  "hsl": {
    "h": 137.419,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.09573,
    "h": 150.4
  },
  "luminance": 0.10259
}

Semantic roles & 50–950 ramp

primary
#28663A
secondary
#995184
accent
#54AFD3
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #28663A

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

Preview Lab → · Contrast checker → · Palette generator →

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