#28821A#28821A

#28821A is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.161 H 141.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#28821A
RGBrgb(40, 130, 26)
HSLhsl(112, 67%, 31%)
HSVhsv(112, 80%, 51%)
CMYKcmyk(69.2%, 0%, 80%, 49%)
CIE-LABlab(47.61, -45.92, 44.99)
CIE-LCHlch(47.61, 64.29, 135.59°)
OKLaboklab(53.33% -0.1254 0.1006)
OKLCHoklch(53.33% 0.161 141.3)
XYZxyz(9.0437, 16.4900, 3.6834)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28821A #741A82
analogous
#5C821A #28821A #1A8240
triadic
#28821A #1A2882 #821A28
tetradic
#28821A #1A5C82 #741A82 #82401A
square
#28821A #1A5C82 #741A82 #82401A
split-complementary
#28821A #401A82 #821A5C
monochromatic
#091C06 #184F10 #28821A #38B524 #53D83E

Accessibility & contrast

On white

4.89
#28821A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#28821A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28821A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28821A#FFFFFF#000000##FFFFFF
##28821A1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#157E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28821a;
/* rgb */ color: rgb(40, 130, 26);
/* oklch */ color: oklch(53.3% 0.161 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a75f',
    500: '#28821a',
    950: '#000000',
  },
}
SCSS
$custom: #28821a;
$custom-light: #70a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#28821a",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 111.923,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.16078,
    "h": 141.3
  },
  "luminance": 0.16491
}

Semantic roles & 50–950 ramp

primary
#28821A
secondary
#A642B6
accent
#3EEAD3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #28821A

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

Preview Lab → · Contrast checker → · Palette generator →

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