#28861A#28861A

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

Color values

HEX#28861A
RGBrgb(40, 134, 26)
HSLhsl(112, 68%, 31%)
HSVhsv(112, 81%, 53%)
CMYKcmyk(70.1%, 0%, 80.6%, 47.5%)
CIE-LABlab(48.98, -47.33, 46.30)
CIE-LCHlch(48.98, 66.21, 135.63°)
OKLaboklab(54.46% -0.1292 0.1033)
OKLCHoklch(54.46% 0.165 141.4)
XYZxyz(9.5861, 17.5749, 3.8642)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28861A #781A86
analogous
#5E861A #28861A #1A8642
triadic
#28861A #1A2886 #861A28
tetradic
#28861A #1A5E86 #781A86 #86421A
square
#28861A #1A5E86 #781A86 #86421A
split-complementary
#28861A #421A86 #861A5E
monochromatic
#091F06 #195310 #28861A #37B924 #54DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28861A#FFFFFF#000000##FFFFFF
##28861A1.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: #28861a;
/* rgb */ color: rgb(40, 134, 26);
/* oklch */ color: oklch(54.5% 0.165 141.4);
Tailwind
colors: {
  custom: {
    50: '#71aa60',
    500: '#28861a',
    950: '#000000',
  },
}
SCSS
$custom: #28861a;
$custom-light: #71aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#28861a",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 112.222,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.16547,
    "h": 141.4
  },
  "luminance": 0.17576
}

Semantic roles & 50–950 ramp

primary
#28861A
secondary
#AA42B9
accent
#3DEAD4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #28861A

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

Preview Lab → · Contrast checker → · Palette generator →

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