#28861F#28861F

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

Color values

HEX#28861F
RGBrgb(40, 134, 31)
HSLhsl(115, 62%, 32%)
HSVhsv(115, 77%, 53%)
CMYKcmyk(70.1%, 0%, 76.9%, 47.5%)
CIE-LABlab(49.01, -46.97, 44.59)
CIE-LCHlch(49.01, 64.76, 136.49°)
OKLaboklab(54.5% -0.128 0.1005)
OKLCHoklch(54.5% 0.163 141.9)
XYZxyz(9.6470, 17.5992, 4.1846)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28861F #7D1F86
analogous
#5C861F #28861F #1F8649
triadic
#28861F #1F2886 #861F28
tetradic
#28861F #1F5C86 #7D1F86 #86491F
square
#28861F #1F5C86 #7D1F86 #86491F
split-complementary
#28861F #491F86 #861F5C
monochromatic
#0A2308 #195414 #28861F #37B82A #56D54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28861F#FFFFFF#000000##FFFFFF
##28861F1.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)
#897909
Deuteranopia (green-blind)
#7E722A
Tritanopia (blue-blind)
#128272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #28861f;
/* rgb */ color: rgb(40, 134, 31);
/* oklch */ color: oklch(54.5% 0.163 141.9);
Tailwind
colors: {
  custom: {
    50: '#71aa62',
    500: '#28861f',
    950: '#000000',
  },
}
SCSS
$custom: #28861f;
$custom-light: #71aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#28861f",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 114.757,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54496,
    "c": 0.16272,
    "h": 141.9
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#28861F
secondary
#AE49B8
accent
#42E5D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #28861F

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

Preview Lab → · Contrast checker → · Palette generator →

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