#28882D#28882D

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

Color values

HEX#28882D
RGBrgb(40, 136, 45)
HSLhsl(123, 55%, 35%)
HSVhsv(123, 71%, 53%)
CMYKcmyk(70.6%, 0%, 66.9%, 46.7%)
CIE-LABlab(49.80, -46.37, 39.65)
CIE-LCHlch(49.80, 61.00, 139.47°)
OKLaboklab(55.18% -0.1256 0.0919)
OKLCHoklch(55.18% 0.156 143.8)
XYZxyz(10.1523, 18.2478, 5.4693)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28882D #882883
analogous
#538828 #28882D #28885D
triadic
#28882D #2D2888 #882D28
tetradic
#28882D #285388 #882883 #885D28
square
#28882D #285388 #882883 #885D28
split-complementary
#28882D #5D2888 #882853
monochromatic
#0C290E #1A591D #28882D #36B73D #5BCF62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28882D#FFFFFF#000000##000000
##28882D1.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)
#8B7B22
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#0A8475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28882d;
/* rgb */ color: rgb(40, 136, 45);
/* oklch */ color: oklch(55.2% 0.156 143.8);
Tailwind
colors: {
  custom: {
    50: '#70ac6a',
    500: '#28882d',
    950: '#000000',
  },
}
SCSS
$custom: #28882d;
$custom-light: #70ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#28882d",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 123.125,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55185,
    "c": 0.15566,
    "h": 143.8
  },
  "luminance": 0.18249
}

Semantic roles & 50–950 ramp

primary
#28882D
secondary
#B458AF
accent
#4AD6DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #28882D

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

Preview Lab → · Contrast checker → · Palette generator →

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