#28861B#28861B

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

Color values

HEX#28861B
RGBrgb(40, 134, 27)
HSLhsl(113, 66%, 32%)
HSVhsv(113, 80%, 53%)
CMYKcmyk(70.1%, 0%, 79.9%, 47.5%)
CIE-LABlab(48.98, -47.26, 45.98)
CIE-LCHlch(48.98, 65.94, 135.79°)
OKLaboklab(54.47% -0.129 0.1028)
OKLCHoklch(54.47% 0.165 141.5)
XYZxyz(9.5975, 17.5794, 3.9241)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28861B #791B86
analogous
#5E861B #28861B #1B8644
triadic
#28861B #1B2886 #861B28
tetradic
#28861B #1B5E86 #791B86 #86441B
square
#28861B #1B5E86 #791B86 #86441B
split-complementary
#28861B #441B86 #861B5E
monochromatic
#0A2006 #195311 #28861B #37B925 #55D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28861B#FFFFFF#000000##FFFFFF
##28861B1.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)
#897900
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#138272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #28861b;
/* rgb */ color: rgb(40, 134, 27);
/* oklch */ color: oklch(54.5% 0.165 141.5);
Tailwind
colors: {
  custom: {
    50: '#71aa60',
    500: '#28861b',
    950: '#000000',
  },
}
SCSS
$custom: #28861b;
$custom-light: #71aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#28861b",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 112.71,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.16495,
    "h": 141.5
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#28861B
secondary
#AB44B9
accent
#3EE9D5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #28861B

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

Preview Lab → · Contrast checker → · Palette generator →

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