#28873B#28873B

#28873B is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.143 H 146.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#28873B
RGBrgb(40, 135, 59)
HSLhsl(132, 54%, 34%)
HSVhsv(132, 70%, 53%)
CMYKcmyk(70.4%, 0%, 56.3%, 47.1%)
CIE-LABlab(49.61, -44.21, 32.68)
CIE-LCHlch(49.61, 54.97, 143.53°)
OKLaboklab(55.08% -0.1192 0.0782)
OKLCHoklch(55.08% 0.143 146.8)
XYZxyz(10.3277, 18.0937, 7.0850)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28873B #872874
analogous
#458728 #28873B #28876B
triadic
#28873B #3B2887 #873B28
tetradic
#28873B #284587 #872874 #876B28
square
#28873B #284587 #872874 #876B28
split-complementary
#28873B #6B2887 #872845
monochromatic
#0C2912 #1A5826 #28873B #36B650 #5BCE72

Accessibility & contrast

On white

4.55
#28873B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#28873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28873B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28873B#FFFFFF#000000##000000
##28873B1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B34
Deuteranopia (green-blind)
#7D7341
Tritanopia (blue-blind)
#018476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28873b;
/* rgb */ color: rgb(40, 135, 59);
/* oklch */ color: oklch(55.1% 0.143 146.8);
Tailwind
colors: {
  custom: {
    50: '#6fab73',
    500: '#28873b',
    950: '#000000',
  },
}
SCSS
$custom: #28873b;
$custom-light: #6fab73;
$custom-dark: #000000;
JSON
{
  "hex": "#28873b",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 132,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5508,
    "c": 0.14257,
    "h": 146.8
  },
  "luminance": 0.18095
}

Semantic roles & 50–950 ramp

primary
#28873B
secondary
#B457A1
accent
#4AC0DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #28873B

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

Preview Lab → · Contrast checker → · Palette generator →

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