#28841D#28841D

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

Color values

HEX#28841D
RGBrgb(40, 132, 29)
HSLhsl(114, 64%, 32%)
HSVhsv(114, 78%, 52%)
CMYKcmyk(69.7%, 0%, 78%, 48.2%)
CIE-LABlab(48.31, -46.41, 44.63)
CIE-LCHlch(48.31, 64.39, 136.13°)
OKLaboklab(53.92% -0.1266 0.1003)
OKLCHoklch(53.92% 0.162 141.6)
XYZxyz(9.3476, 17.0414, 3.9589)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28841D #791D84
analogous
#5C841D #28841D #1D8446
triadic
#28841D #1D2884 #841D28
tetradic
#28841D #1D5C84 #791D84 #84461D
square
#28841D #1D5C84 #791D84 #84461D
split-complementary
#28841D #461D84 #841D5C
monochromatic
#0A2007 #195212 #28841D #37B628 #55D645

Accessibility & contrast

On white

4.76
#28841D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28841D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28841D#FFFFFF#000000##FFFFFF
##28841D1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#138070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #28841d;
/* rgb */ color: rgb(40, 132, 29);
/* oklch */ color: oklch(53.9% 0.162 141.6);
Tailwind
colors: {
  custom: {
    50: '#70a961',
    500: '#28841d',
    950: '#000000',
  },
}
SCSS
$custom: #28841d;
$custom-light: #70a961;
$custom-dark: #000000;
JSON
{
  "hex": "#28841d",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 113.592,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.1615,
    "h": 141.6
  },
  "luminance": 0.17042
}

Semantic roles & 50–950 ramp

primary
#28841D
secondary
#AB46B7
accent
#41E7D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #28841D

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

Preview Lab → · Contrast checker → · Palette generator →

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