#28841E#28841E

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

Color values

HEX#28841E
RGBrgb(40, 132, 30)
HSLhsl(114, 63%, 32%)
HSVhsv(114, 77%, 52%)
CMYKcmyk(69.7%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.32, -46.34, 44.27)
CIE-LCHlch(48.32, 64.09, 136.31°)
OKLaboklab(53.92% -0.1263 0.0997)
OKLCHoklch(53.92% 0.161 141.7)
XYZxyz(9.3602, 17.0464, 4.0250)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28841E #7A1E84
analogous
#5B841E #28841E #1E8447
triadic
#28841E #1E2884 #841E28
tetradic
#28841E #1E5B84 #7A1E84 #84471E
square
#28841E #1E5B84 #7A1E84 #84471E
split-complementary
#28841E #471E84 #841E5B
monochromatic
#0A2007 #195213 #28841E #37B629 #55D547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28841E#FFFFFF#000000##FFFFFF
##28841E1.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)
#877708
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#138070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #28841e;
/* rgb */ color: rgb(40, 132, 30);
/* oklch */ color: oklch(53.9% 0.161 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a961',
    500: '#28841e',
    950: '#000000',
  },
}
SCSS
$custom: #28841e;
$custom-light: #70a961;
$custom-dark: #000000;
JSON
{
  "hex": "#28841e",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 114.118,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.16093,
    "h": 141.7
  },
  "luminance": 0.17047
}

Semantic roles & 50–950 ramp

primary
#28841E
secondary
#AC47B7
accent
#42E6D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #28841E

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

Preview Lab → · Contrast checker → · Palette generator →

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