#28831E#28831E

#28831E is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.160 H 141.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#28831E
RGBrgb(40, 131, 30)
HSLhsl(114, 63%, 32%)
HSVhsv(114, 77%, 51%)
CMYKcmyk(69.5%, 0%, 77.1%, 48.6%)
CIE-LABlab(47.98, -45.98, 43.93)
CIE-LCHlch(47.98, 63.59, 136.31°)
OKLaboklab(53.64% -0.1254 0.099)
OKLCHoklch(53.64% 0.16 141.7)
XYZxyz(9.2252, 16.7765, 3.9801)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28831E #791E83
analogous
#5B831E #28831E #1E8347
triadic
#28831E #1E2883 #831E28
tetradic
#28831E #1E5B83 #791E83 #83471E
square
#28831E #1E5B83 #791E83 #83471E
split-complementary
#28831E #471E83 #831E5B
monochromatic
#0A1F07 #195113 #28831E #37B529 #55D547

Accessibility & contrast

On white

4.82
#28831E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#28831E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28831E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28831E#FFFFFF#000000##FFFFFF
##28831E1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867609
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#147F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #28831e;
/* rgb */ color: rgb(40, 131, 30);
/* oklch */ color: oklch(53.6% 0.160 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a861',
    500: '#28831e',
    950: '#000000',
  },
}
SCSS
$custom: #28831e;
$custom-light: #70a861;
$custom-dark: #000000;
JSON
{
  "hex": "#28831e",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 114.059,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5364,
    "c": 0.15974,
    "h": 141.7
  },
  "luminance": 0.16777
}

Semantic roles & 50–950 ramp

primary
#28831E
secondary
#AB47B6
accent
#42E6D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #28831E

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

Preview Lab → · Contrast checker → · Palette generator →

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