#28973B#28973B

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

Color values

HEX#28973B
RGBrgb(40, 151, 59)
HSLhsl(130, 58%, 37%)
HSVhsv(130, 74%, 59%)
CMYKcmyk(73.5%, 0%, 60.9%, 40.8%)
CIE-LABlab(54.97, -50.08, 38.99)
CIE-LCHlch(54.97, 63.47, 142.09°)
OKLaboklab(59.51% -0.1351 0.0919)
OKLCHoklch(59.51% 0.163 145.8)
XYZxyz(12.7302, 22.8987, 7.8858)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28973B #972884
analogous
#4D9728 #28973B #289772
triadic
#28973B #3B2897 #973B28
tetradic
#28973B #284D97 #972884 #977228
square
#28973B #284D97 #972884 #977228
split-complementary
#28973B #722897 #97284D
monochromatic
#0E3615 #1B6728 #28973B #35C74E #64D677

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28973B#FFFFFF#000000##000000
##28973B1.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)
#998931
Deuteranopia (green-blind)
#8C8043
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #28973b;
/* rgb */ color: rgb(40, 151, 59);
/* oklch */ color: oklch(59.5% 0.163 145.8);
Tailwind
colors: {
  custom: {
    50: '#73b774',
    500: '#28973b',
    950: '#000000',
  },
}
SCSS
$custom: #28973b;
$custom-light: #73b774;
$custom-dark: #000000;
JSON
{
  "hex": "#28973b",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 59
  },
  "hsl": {
    "h": 130.27,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59515,
    "c": 0.16339,
    "h": 145.8
  },
  "luminance": 0.229
}

Semantic roles & 50–950 ramp

primary
#28973B
secondary
#BC5FAC
accent
#46C7E1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #28973B

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

Preview Lab → · Contrast checker → · Palette generator →

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