#28841A#28841A

#28841A is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.163 H 141.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#28841A
RGBrgb(40, 132, 26)
HSLhsl(112, 67%, 31%)
HSVhsv(112, 80%, 52%)
CMYKcmyk(69.7%, 0%, 80.3%, 48.2%)
CIE-LABlab(48.29, -46.63, 45.65)
CIE-LCHlch(48.29, 65.25, 135.61°)
OKLaboklab(53.9% -0.1273 0.102)
OKLCHoklch(53.9% 0.163 141.3)
XYZxyz(9.3123, 17.0273, 3.7729)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28841A #761A84
analogous
#5D841A #28841A #1A8441
triadic
#28841A #1A2884 #841A28
tetradic
#28841A #1A5D84 #761A84 #84411A
square
#28841A #1A5D84 #761A84 #84411A
split-complementary
#28841A #411A84 #841A5D
monochromatic
#091E06 #195110 #28841A #37B724 #54D93F

Accessibility & contrast

On white

4.77
#28841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#28841A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28841A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28841A#FFFFFF#000000##FFFFFF
##28841A1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#148070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #28841a;
/* rgb */ color: rgb(40, 132, 26);
/* oklch */ color: oklch(53.9% 0.163 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a960',
    500: '#28841a',
    950: '#000000',
  },
}
SCSS
$custom: #28841a;
$custom-light: #70a960;
$custom-dark: #000000;
JSON
{
  "hex": "#28841a",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 112.075,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53896,
    "c": 0.16313,
    "h": 141.3
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#28841A
secondary
#A842B8
accent
#3EEAD3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #28841A

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

Preview Lab → · Contrast checker → · Palette generator →

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