#28882C#28882C

#28882C is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.156 H 143.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#28882C
RGBrgb(40, 136, 44)
HSLhsl(123, 55%, 35%)
HSVhsv(123, 71%, 53%)
CMYKcmyk(70.6%, 0%, 67.6%, 46.7%)
CIE-LABlab(49.79, -46.47, 40.08)
CIE-LCHlch(49.79, 61.37, 139.22°)
OKLaboklab(55.17% -0.126 0.0927)
OKLCHoklch(55.17% 0.156 143.6)
XYZxyz(10.1332, 18.2402, 5.3691)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28882C #882884
analogous
#548828 #28882C #28885C
triadic
#28882C #2C2888 #882C28
tetradic
#28882C #285488 #882884 #885C28
square
#28882C #285488 #882884 #885C28
split-complementary
#28882C #5C2888 #882854
monochromatic
#0C290D #1A591D #28882C #36B73B #5BCF60

Accessibility & contrast

On white

4.52
#28882C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#28882C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28882C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28882C#FFFFFF#000000##000000
##28882C1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#0B8475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28882c;
/* rgb */ color: rgb(40, 136, 44);
/* oklch */ color: oklch(55.2% 0.156 143.6);
Tailwind
colors: {
  custom: {
    50: '#70ac6a',
    500: '#28882c',
    950: '#000000',
  },
}
SCSS
$custom: #28882c;
$custom-light: #70ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#28882c",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 122.5,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55174,
    "c": 0.15642,
    "h": 143.6
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#28882C
secondary
#B458B0
accent
#4AD8DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #28882C

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

Preview Lab → · Contrast checker → · Palette generator →

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