#28861C#28861C

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

Color values

HEX#28861C
RGBrgb(40, 134, 28)
HSLhsl(113, 65%, 32%)
HSVhsv(113, 79%, 53%)
CMYKcmyk(70.1%, 0%, 79.1%, 47.5%)
CIE-LABlab(48.99, -47.19, 45.64)
CIE-LCHlch(48.99, 65.65, 135.96°)
OKLaboklab(54.47% -0.1288 0.1022)
OKLCHoklch(54.47% 0.164 141.6)
XYZxyz(9.6092, 17.5841, 3.9860)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28861C #7A1C86
analogous
#5D861C #28861C #1C8645
triadic
#28861C #1C2886 #861C28
tetradic
#28861C #1C5D86 #7A1C86 #86451C
square
#28861C #1C5D86 #7A1C86 #86451C
split-complementary
#28861C #451C86 #861C5D
monochromatic
#0A2107 #195311 #28861C #37B927 #55D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28861C#FFFFFF#000000##FFFFFF
##28861C1.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)
#897902
Deuteranopia (green-blind)
#7E7228
Tritanopia (blue-blind)
#128272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #28861c;
/* rgb */ color: rgb(40, 134, 28);
/* oklch */ color: oklch(54.5% 0.164 141.6);
Tailwind
colors: {
  custom: {
    50: '#71aa61',
    500: '#28861c',
    950: '#000000',
  },
}
SCSS
$custom: #28861c;
$custom-light: #71aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#28861c",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 113.208,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54474,
    "c": 0.16442,
    "h": 141.6
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#28861C
secondary
#AC45B9
accent
#3FE8D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #28861C

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

Preview Lab → · Contrast checker → · Palette generator →

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