#28973A#28973A

#28973A is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.164 H 145.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#28973A
RGBrgb(40, 151, 58)
HSLhsl(130, 58%, 37%)
HSVhsv(130, 74%, 59%)
CMYKcmyk(73.5%, 0%, 61.6%, 40.8%)
CIE-LABlab(54.96, -50.20, 39.45)
CIE-LCHlch(54.96, 63.85, 141.84°)
OKLaboklab(59.5% -0.1355 0.0928)
OKLCHoklch(59.5% 0.164 145.6)
XYZxyz(12.7045, 22.8884, 7.7505)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28973A #972885
analogous
#4D9728 #28973A #289772
triadic
#28973A #3A2897 #973A28
tetradic
#28973A #284D97 #972885 #977228
square
#28973A #284D97 #972885 #977228
split-complementary
#28973A #722897 #97284D
monochromatic
#0E3615 #1B6727 #28973A #35C74D #64D676

Accessibility & contrast

On white

3.76
#28973A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#28973A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28973A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28973A#FFFFFF#000000##000000
##28973A1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998930
Deuteranopia (green-blind)
#8D8042
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #28973a;
/* rgb */ color: rgb(40, 151, 58);
/* oklch */ color: oklch(59.5% 0.164 145.6);
Tailwind
colors: {
  custom: {
    50: '#73b773',
    500: '#28973a',
    950: '#000000',
  },
}
SCSS
$custom: #28973a;
$custom-light: #73b773;
$custom-dark: #000000;
JSON
{
  "hex": "#28973a",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 58
  },
  "hsl": {
    "h": 129.73,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.16421,
    "h": 145.6
  },
  "luminance": 0.2289
}

Semantic roles & 50–950 ramp

primary
#28973A
secondary
#BC5FAD
accent
#46C8E1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #28973A

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

Preview Lab → · Contrast checker → · Palette generator →

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