#28881E#28881E

#28881E is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.166 H 141.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#28881E
RGBrgb(40, 136, 30)
HSLhsl(114, 64%, 33%)
HSVhsv(114, 78%, 53%)
CMYKcmyk(70.6%, 0%, 77.9%, 46.7%)
CIE-LABlab(49.68, -47.75, 45.62)
CIE-LCHlch(49.68, 66.03, 136.31°)
OKLaboklab(55.05% -0.1302 0.1025)
OKLCHoklch(55.05% 0.166 141.8)
XYZxyz(9.9130, 18.1521, 4.2093)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28881E #7E1E88
analogous
#5D881E #28881E #1E8849
triadic
#28881E #1E2888 #881E28
tetradic
#28881E #1E5D88 #7E1E88 #88491E
square
#28881E #1E5D88 #7E1E88 #88491E
split-complementary
#28881E #491E88 #881E5D
monochromatic
#0B2408 #195613 #28881E #37BA29 #57D749

Accessibility & contrast

On white

4.54
#28881E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#28881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28881E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28881E#FFFFFF#000000##000000
##28881E1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B06
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#118474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28881e;
/* rgb */ color: rgb(40, 136, 30);
/* oklch */ color: oklch(55.1% 0.166 141.8);
Tailwind
colors: {
  custom: {
    50: '#71ac62',
    500: '#28881e',
    950: '#000000',
  },
}
SCSS
$custom: #28881e;
$custom-light: #71ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#28881e",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 114.34,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.16566,
    "h": 141.8
  },
  "luminance": 0.18153
}

Semantic roles & 50–950 ramp

primary
#28881E
secondary
#AF49B9
accent
#41E7D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #28881E

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

Preview Lab → · Contrast checker → · Palette generator →

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