#28861D#28861D

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

Color values

HEX#28861D
RGBrgb(40, 134, 29)
HSLhsl(114, 64%, 32%)
HSVhsv(114, 78%, 53%)
CMYKcmyk(70.1%, 0%, 78.4%, 47.5%)
CIE-LABlab(48.99, -47.12, 45.30)
CIE-LCHlch(48.99, 65.36, 136.13°)
OKLaboklab(54.48% -0.1285 0.1017)
OKLCHoklch(54.48% 0.164 141.7)
XYZxyz(9.6214, 17.5890, 4.0501)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28861D #7B1D86
analogous
#5D861D #28861D #1D8647
triadic
#28861D #1D2886 #861D28
tetradic
#28861D #1D5D86 #7B1D86 #86471D
square
#28861D #1D5D86 #7B1D86 #86471D
split-complementary
#28861D #471D86 #861D5D
monochromatic
#0A2107 #195412 #28861D #37B828 #56D746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28861D#FFFFFF#000000##FFFFFF
##28861D1.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)
#897905
Deuteranopia (green-blind)
#7E7229
Tritanopia (blue-blind)
#128272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #28861d;
/* rgb */ color: rgb(40, 134, 29);
/* oklch */ color: oklch(54.5% 0.164 141.7);
Tailwind
colors: {
  custom: {
    50: '#71aa61',
    500: '#28861d',
    950: '#000000',
  },
}
SCSS
$custom: #28861d;
$custom-light: #71aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#28861d",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 113.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54481,
    "c": 0.16387,
    "h": 141.7
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

primary
#28861D
secondary
#AD46B9
accent
#40E7D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #28861D

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

Preview Lab → · Contrast checker → · Palette generator →

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