#28873A#28873A

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

Color values

HEX#28873A
RGBrgb(40, 135, 58)
HSLhsl(131, 54%, 34%)
HSVhsv(131, 70%, 53%)
CMYKcmyk(70.4%, 0%, 57%, 47.1%)
CIE-LABlab(49.60, -44.35, 33.17)
CIE-LCHlch(49.60, 55.38, 143.21°)
OKLaboklab(55.07% -0.1197 0.0792)
OKLCHoklch(55.07% 0.143 146.5)
XYZxyz(10.3020, 18.0834, 6.9497)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28873A #872875
analogous
#468728 #28873A #28876A
triadic
#28873A #3A2887 #873A28
tetradic
#28873A #284687 #872875 #876A28
square
#28873A #284687 #872875 #876A28
split-complementary
#28873A #6A2887 #872846
monochromatic
#0C2911 #1A5826 #28873A #36B64E #5BCE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28873A#FFFFFF#000000##000000
##28873A1.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)
#897B33
Deuteranopia (green-blind)
#7D7340
Tritanopia (blue-blind)
#028476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28873a;
/* rgb */ color: rgb(40, 135, 58);
/* oklch */ color: oklch(55.1% 0.143 146.5);
Tailwind
colors: {
  custom: {
    50: '#6fab72',
    500: '#28873a',
    950: '#000000',
  },
}
SCSS
$custom: #28873a;
$custom-light: #6fab72;
$custom-dark: #000000;
JSON
{
  "hex": "#28873a",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 131.368,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55066,
    "c": 0.14347,
    "h": 146.5
  },
  "luminance": 0.18085
}

Semantic roles & 50–950 ramp

primary
#28873A
secondary
#B457A2
accent
#4AC2DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #28873A

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

Preview Lab → · Contrast checker → · Palette generator →

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