#28881B#28881B

#28881B is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.167 H 141.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#28881B
RGBrgb(40, 136, 27)
HSLhsl(113, 67%, 32%)
HSVhsv(113, 80%, 53%)
CMYKcmyk(70.6%, 0%, 80.1%, 46.7%)
CIE-LABlab(49.66, -47.96, 46.63)
CIE-LCHlch(49.66, 66.89, 135.81°)
OKLaboklab(55.03% -0.1309 0.1042)
OKLCHoklch(55.03% 0.167 141.5)
XYZxyz(9.8765, 18.1375, 4.0171)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28881B #7B1B88
analogous
#5F881B #28881B #1B8845
triadic
#28881B #1B2888 #881B28
tetradic
#28881B #1B5F88 #7B1B88 #88451B
square
#28881B #1B5F88 #7B1B88 #88451B
split-complementary
#28881B #451B88 #881B5F
monochromatic
#0A2207 #195511 #28881B #37BB25 #56DA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28881B#FFFFFF#000000##000000
##28881B1.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)
#8B7B00
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#118474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28881b;
/* rgb */ color: rgb(40, 136, 27);
/* oklch */ color: oklch(55.0% 0.167 141.5);
Tailwind
colors: {
  custom: {
    50: '#71ac61',
    500: '#28881b',
    950: '#000000',
  },
}
SCSS
$custom: #28881b;
$custom-light: #71ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#28881b",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 112.844,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.16728,
    "h": 141.5
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#28881B
secondary
#AD44BB
accent
#3EEAD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #28881B

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

Preview Lab → · Contrast checker → · Palette generator →

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