#28972B#28972B

#28972B is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.175 H 143.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#28972B
RGBrgb(40, 151, 43)
HSLhsl(122, 58%, 37%)
HSVhsv(122, 74%, 59%)
CMYKcmyk(73.5%, 0%, 71.5%, 40.8%)
CIE-LABlab(54.82, -51.83, 45.89)
CIE-LCHlch(54.82, 69.23, 138.48°)
OKLaboklab(59.35% -0.1406 0.1048)
OKLCHoklch(59.35% 0.175 143.3)
XYZxyz(12.3770, 22.7574, 6.0254)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28972B #972894
analogous
#5C9728 #28972B #289763
triadic
#28972B #2B2897 #972B28
tetradic
#28972B #285C97 #972894 #976328
square
#28972B #285C97 #972894 #976328
split-complementary
#28972B #632897 #97285C
monochromatic
#0E360F #1B671D #28972B #35C739 #64D667

Accessibility & contrast

On white

3.78
#28972B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#28972B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28972B
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28972B#FFFFFF#000000##000000
##28972B1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881A
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #28972b;
/* rgb */ color: rgb(40, 151, 43);
/* oklch */ color: oklch(59.3% 0.175 143.3);
Tailwind
colors: {
  custom: {
    50: '#74b76b',
    500: '#28972b',
    950: '#000000',
  },
}
SCSS
$custom: #28972b;
$custom-light: #74b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#28972b",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 121.622,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.17534,
    "h": 143.3
  },
  "luminance": 0.22759
}

Semantic roles & 50–950 ramp

primary
#28972B
secondary
#BC5FB9
accent
#46DDE1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28972B

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

Preview Lab → · Contrast checker → · Palette generator →

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