#28861E#28861E

#28861E is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.163 H 141.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#28861E
RGBrgb(40, 134, 30)
HSLhsl(114, 63%, 32%)
HSVhsv(114, 78%, 53%)
CMYKcmyk(70.1%, 0%, 77.6%, 47.5%)
CIE-LABlab(49.00, -47.05, 44.94)
CIE-LCHlch(49.00, 65.06, 136.31°)
OKLaboklab(54.49% -0.1283 0.1011)
OKLCHoklch(54.49% 0.163 141.8)
XYZxyz(9.6340, 17.5940, 4.1163)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28861E #7C1E86
analogous
#5C861E #28861E #1E8648
triadic
#28861E #1E2886 #861E28
tetradic
#28861E #1E5C86 #7C1E86 #86481E
square
#28861E #1E5C86 #7C1E86 #86481E
split-complementary
#28861E #481E86 #861E5C
monochromatic
#0A2208 #195413 #28861E #37B829 #56D648

Accessibility & contrast

On white

4.65
#28861E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#28861E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #28861E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28861E#FFFFFF#000000##FFFFFF
##28861E1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897907
Deuteranopia (green-blind)
#7E7229
Tritanopia (blue-blind)
#128272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #28861e;
/* rgb */ color: rgb(40, 134, 30);
/* oklch */ color: oklch(54.5% 0.163 141.8);
Tailwind
colors: {
  custom: {
    50: '#71aa62',
    500: '#28861e',
    950: '#000000',
  },
}
SCSS
$custom: #28861e;
$custom-light: #71aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#28861e",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 114.231,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.1633,
    "h": 141.8
  },
  "luminance": 0.17595
}

Semantic roles & 50–950 ramp

primary
#28861E
secondary
#AD47B8
accent
#41E6D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #28861E

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

Preview Lab → · Contrast checker → · Palette generator →

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