#28821E#28821E

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

Color values

HEX#28821E
RGBrgb(40, 130, 30)
HSLhsl(114, 63%, 31%)
HSVhsv(114, 77%, 51%)
CMYKcmyk(69.2%, 0%, 76.9%, 49%)
CIE-LABlab(47.64, -45.62, 43.59)
CIE-LCHlch(47.64, 63.10, 136.31°)
OKLaboklab(53.36% -0.1244 0.0983)
OKLCHoklch(53.36% 0.159 141.7)
XYZxyz(9.0916, 16.5092, 3.9355)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28821E #781E82
analogous
#5A821E #28821E #1E8246
triadic
#28821E #1E2882 #821E28
tetradic
#28821E #1E5A82 #781E82 #82461E
square
#28821E #1E5A82 #781E82 #82461E
split-complementary
#28821E #461E82 #821E5A
monochromatic
#091F07 #195013 #28821E #37B429 #54D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28821E#FFFFFF#000000##FFFFFF
##28821E1.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)
#857509
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#147E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28821e;
/* rgb */ color: rgb(40, 130, 30);
/* oklch */ color: oklch(53.4% 0.159 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a761',
    500: '#28821e',
    950: '#000000',
  },
}
SCSS
$custom: #28821e;
$custom-light: #70a761;
$custom-dark: #000000;
JSON
{
  "hex": "#28821e",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 114,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53357,
    "c": 0.15854,
    "h": 141.7
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#28821E
secondary
#AA47B5
accent
#42E6D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #28821E

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

Preview Lab → · Contrast checker → · Palette generator →

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