#28821C#28821C

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

Color values

HEX#28821C
RGBrgb(40, 130, 28)
HSLhsl(113, 65%, 31%)
HSVhsv(113, 78%, 51%)
CMYKcmyk(69.2%, 0%, 78.5%, 49%)
CIE-LABlab(47.62, -45.78, 44.31)
CIE-LCHlch(47.62, 63.71, 135.94°)
OKLaboklab(53.34% -0.1249 0.0995)
OKLCHoklch(53.34% 0.16 141.5)
XYZxyz(9.0668, 16.4993, 3.8052)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28821C #761C82
analogous
#5B821C #28821C #1C8243
triadic
#28821C #1C2882 #821C28
tetradic
#28821C #1C5B82 #761C82 #82431C
square
#28821C #1C5B82 #761C82 #82431C
split-complementary
#28821C #431C82 #821C5B
monochromatic
#091D06 #195011 #28821C #37B427 #54D642

Accessibility & contrast

On white

4.88
#28821C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28821C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28821C#FFFFFF#000000##FFFFFF
##28821C1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28821c;
/* rgb */ color: rgb(40, 130, 28);
/* oklch */ color: oklch(53.3% 0.160 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a760',
    500: '#28821c',
    950: '#000000',
  },
}
SCSS
$custom: #28821c;
$custom-light: #70a760;
$custom-dark: #000000;
JSON
{
  "hex": "#28821c",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 112.941,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.15969,
    "h": 141.5
  },
  "luminance": 0.165
}

Semantic roles & 50–950 ramp

primary
#28821C
secondary
#A844B5
accent
#40E8D4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #28821C

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

Preview Lab → · Contrast checker → · Palette generator →

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