#28891A#28891A

#28891A is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.169 H 141.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#28891A
RGBrgb(40, 137, 26)
HSLhsl(112, 68%, 32%)
HSVhsv(112, 81%, 54%)
CMYKcmyk(70.8%, 0%, 81%, 46.3%)
CIE-LABlab(50.00, -48.37, 47.28)
CIE-LCHlch(50.00, 67.64, 135.66°)
OKLaboklab(55.31% -0.1321 0.1054)
OKLCHoklch(55.31% 0.169 141.4)
XYZxyz(10.0066, 18.4160, 4.0044)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28891A #7B1A89
analogous
#60891A #28891A #1A8943
triadic
#28891A #1A2889 #891A28
tetradic
#28891A #1A6089 #7B1A89 #89431A
square
#28891A #1A6089 #7B1A89 #89431A
split-complementary
#28891A #431A89 #891A60
monochromatic
#0A2206 #195610 #28891A #37BC24 #56DB42

Accessibility & contrast

On white

4.48
#28891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#28891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28891A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28891A#FFFFFF#000000##000000
##28891A1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#118574
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28891a;
/* rgb */ color: rgb(40, 137, 26);
/* oklch */ color: oklch(55.3% 0.169 141.4);
Tailwind
colors: {
  custom: {
    50: '#71ac60',
    500: '#28891a',
    950: '#000000',
  },
}
SCSS
$custom: #28891a;
$custom-light: #71ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#28891a",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 112.432,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55308,
    "c": 0.16894,
    "h": 141.4
  },
  "luminance": 0.18417
}

Semantic roles & 50–950 ramp

primary
#28891A
secondary
#AD43BC
accent
#3DEBD5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #28891A

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

Preview Lab → · Contrast checker → · Palette generator →

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