#28882E#28882E

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

Color values

HEX#28882E
RGBrgb(40, 136, 46)
HSLhsl(124, 55%, 35%)
HSVhsv(124, 71%, 53%)
CMYKcmyk(70.6%, 0%, 66.2%, 46.7%)
CIE-LABlab(49.80, -46.25, 39.20)
CIE-LCHlch(49.80, 60.63, 139.72°)
OKLaboklab(55.2% -0.1253 0.0911)
OKLCHoklch(55.2% 0.155 144)
XYZxyz(10.1717, 18.2556, 5.5719)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28882E #882882
analogous
#528828 #28882E #28885E
triadic
#28882E #2E2888 #882E28
tetradic
#28882E #285288 #882882 #885E28
square
#28882E #285288 #882882 #885E28
split-complementary
#28882E #5E2888 #882852
monochromatic
#0C290E #1A591E #28882E #36B73E #5BCF63

Accessibility & contrast

On white

4.51
#28882E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##28882E#FFFFFF#000000##000000
##28882E1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B23
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#098475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28882e;
/* rgb */ color: rgb(40, 136, 46);
/* oklch */ color: oklch(55.2% 0.155 144.0);
Tailwind
colors: {
  custom: {
    50: '#70ac6b',
    500: '#28882e',
    950: '#000000',
  },
}
SCSS
$custom: #28882e;
$custom-light: #70ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#28882e",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 46
  },
  "hsl": {
    "h": 123.75,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55196,
    "c": 0.1549,
    "h": 144
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#28882E
secondary
#B458AE
accent
#4AD5DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #28882E

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

Preview Lab → · Contrast checker → · Palette generator →

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