#28882A#28882A

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

Color values

HEX#28882A
RGBrgb(40, 136, 42)
HSLhsl(121, 55%, 35%)
HSVhsv(121, 71%, 53%)
CMYKcmyk(70.6%, 0%, 69.1%, 46.7%)
CIE-LABlab(49.77, -46.69, 40.94)
CIE-LCHlch(49.77, 62.10, 138.75°)
OKLaboklab(55.15% -0.1267 0.0943)
OKLCHoklch(55.15% 0.158 143.3)
XYZxyz(10.0965, 18.2255, 5.1758)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28882A #882886
analogous
#568828 #28882A #28885A
triadic
#28882A #2A2888 #882A28
tetradic
#28882A #285688 #882886 #885A28
square
#28882A #285688 #882886 #885A28
split-complementary
#28882A #5A2888 #882856
monochromatic
#0C290D #1A591B #28882A #36B739 #5BCF5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28882A#FFFFFF#000000##000000
##28882A1.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)
#8B7B1D
Deuteranopia (green-blind)
#807333
Tritanopia (blue-blind)
#0C8475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28882a;
/* rgb */ color: rgb(40, 136, 42);
/* oklch */ color: oklch(55.2% 0.158 143.3);
Tailwind
colors: {
  custom: {
    50: '#70ac68',
    500: '#28882a',
    950: '#000000',
  },
}
SCSS
$custom: #28882a;
$custom-light: #70ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#28882a",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 121.25,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.15791,
    "h": 143.3
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#28882A
secondary
#B458B2
accent
#4ADBDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #28882A

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

Preview Lab → · Contrast checker → · Palette generator →

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