#28663F#28663F

#28663F is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.9% C 0.090 H 153.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#28663F
RGBrgb(40, 102, 63)
HSLhsl(142, 44%, 28%)
HSVhsv(142, 61%, 40%)
CMYKcmyk(60.8%, 0%, 38.2%, 60%)
CIE-LABlab(38.40, -29.76, 16.24)
CIE-LCHlch(38.40, 33.90, 151.38°)
OKLaboklab(45.87% -0.0807 0.0407)
OKLCHoklch(45.87% 0.09 153.3)
XYZxyz(6.5231, 10.3121, 6.3483)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28663F #66284F
analogous
#306628 #28663F #28665E
triadic
#28663F #3F2866 #663F28
tetradic
#28663F #283066 #66284F #665E28
square
#28663F #283066 #66284F #665E28
split-complementary
#28663F #5E2866 #662830
monochromatic
#09160E #173A24 #28663F #39925A #4FBA76

Accessibility & contrast

On white

6.86
#28663F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28663F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28663F#FFFFFF#000000##FFFFFF
##28663F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3C
Deuteranopia (green-blind)
#5E5841
Tritanopia (blue-blind)
#15655C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #28663f;
/* rgb */ color: rgb(40, 102, 63);
/* oklch */ color: oklch(45.9% 0.090 153.3);
Tailwind
colors: {
  custom: {
    50: '#689274',
    500: '#28663f',
    950: '#000000',
  },
}
SCSS
$custom: #28663f;
$custom-light: #689274;
$custom-dark: #000000;
JSON
{
  "hex": "#28663f",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 63
  },
  "hsl": {
    "h": 142.258,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.09041,
    "h": 153.3
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#28663F
secondary
#99517E
accent
#54A4D3
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #28663F

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

Preview Lab → · Contrast checker → · Palette generator →

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