#28873C#28873C

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

Color values

HEX#28873C
RGBrgb(40, 135, 60)
HSLhsl(133, 54%, 34%)
HSVhsv(133, 70%, 53%)
CMYKcmyk(70.4%, 0%, 55.6%, 47.1%)
CIE-LABlab(49.62, -44.06, 32.18)
CIE-LCHlch(49.62, 54.56, 143.86°)
OKLaboklab(55.1% -0.1188 0.0771)
OKLCHoklch(55.1% 0.142 147)
XYZxyz(10.3539, 18.1042, 7.2229)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28873C #872873
analogous
#438728 #28873C #28876C
triadic
#28873C #3C2887 #873C28
tetradic
#28873C #284387 #872873 #876C28
square
#28873C #284387 #872873 #876C28
split-complementary
#28873C #6C2887 #872843
monochromatic
#0C2912 #1A5827 #28873C #36B651 #5BCE73

Accessibility & contrast

On white

4.54
#28873C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##28873C#FFFFFF#000000##000000
##28873C1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B35
Deuteranopia (green-blind)
#7D7342
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28873c;
/* rgb */ color: rgb(40, 135, 60);
/* oklch */ color: oklch(55.1% 0.142 147.0);
Tailwind
colors: {
  custom: {
    50: '#6fab74',
    500: '#28873c',
    950: '#000000',
  },
}
SCSS
$custom: #28873c;
$custom-light: #6fab74;
$custom-dark: #000000;
JSON
{
  "hex": "#28873c",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 132.632,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55095,
    "c": 0.14165,
    "h": 147
  },
  "luminance": 0.18105
}

Semantic roles & 50–950 ramp

primary
#28873C
secondary
#B457A0
accent
#4ABFDE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #28873C

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

Preview Lab → · Contrast checker → · Palette generator →

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