#28882B#28882B

#28882B is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.157 H 143.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#28882B
RGBrgb(40, 136, 43)
HSLhsl(122, 55%, 35%)
HSVhsv(122, 71%, 53%)
CMYKcmyk(70.6%, 0%, 68.4%, 46.7%)
CIE-LABlab(49.78, -46.58, 40.52)
CIE-LCHlch(49.78, 61.74, 138.98°)
OKLaboklab(55.16% -0.1263 0.0935)
OKLCHoklch(55.16% 0.157 143.5)
XYZxyz(10.1147, 18.2328, 5.2713)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28882B #882885
analogous
#558828 #28882B #28885B
triadic
#28882B #2B2888 #882B28
tetradic
#28882B #285588 #882885 #885B28
square
#28882B #285588 #882885 #885B28
split-complementary
#28882B #5B2888 #882855
monochromatic
#0C290D #1A591C #28882B #36B73A #5BCF5F

Accessibility & contrast

On white

4.52
#28882B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#28882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28882B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28882B#FFFFFF#000000##000000
##28882B1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1F
Deuteranopia (green-blind)
#807334
Tritanopia (blue-blind)
#0B8475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28882b;
/* rgb */ color: rgb(40, 136, 43);
/* oklch */ color: oklch(55.2% 0.157 143.5);
Tailwind
colors: {
  custom: {
    50: '#70ac69',
    500: '#28882b',
    950: '#000000',
  },
}
SCSS
$custom: #28882b;
$custom-light: #70ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#28882b",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 121.875,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.15717,
    "h": 143.5
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#28882B
secondary
#B458B1
accent
#4AD9DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #28882B

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

Preview Lab → · Contrast checker → · Palette generator →

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