#28882F#28882F

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

Color values

HEX#28882F
RGBrgb(40, 136, 47)
HSLhsl(124, 55%, 35%)
HSVhsv(124, 71%, 53%)
CMYKcmyk(70.6%, 0%, 65.4%, 46.7%)
CIE-LABlab(49.81, -46.14, 38.76)
CIE-LCHlch(49.81, 60.26, 139.97°)
OKLaboklab(55.21% -0.1249 0.0902)
OKLCHoklch(55.21% 0.154 144.2)
XYZxyz(10.1917, 18.2636, 5.6769)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28882F #882881
analogous
#518828 #28882F #28885F
triadic
#28882F #2F2888 #882F28
tetradic
#28882F #285188 #882881 #885F28
square
#28882F #285188 #882881 #885F28
split-complementary
#28882F #5F2888 #882851
monochromatic
#0C290E #1A591F #28882F #36B73F #5BCF64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28882F#FFFFFF#000000##000000
##28882F1.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)
#8B7B24
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#098475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28882f;
/* rgb */ color: rgb(40, 136, 47);
/* oklch */ color: oklch(55.2% 0.154 144.2);
Tailwind
colors: {
  custom: {
    50: '#70ac6b',
    500: '#28882f',
    950: '#000000',
  },
}
SCSS
$custom: #28882f;
$custom-light: #70ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#28882f",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 124.375,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55207,
    "c": 0.15411,
    "h": 144.2
  },
  "luminance": 0.18265
}

Semantic roles & 50–950 ramp

primary
#28882F
secondary
#B458AD
accent
#4AD3DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #28882F

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

Preview Lab → · Contrast checker → · Palette generator →

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