#28972F#28972F

#28972F is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.173 H 143.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#28972F
RGBrgb(40, 151, 47)
HSLhsl(124, 58%, 37%)
HSVhsv(124, 74%, 59%)
CMYKcmyk(73.5%, 0%, 68.9%, 40.8%)
CIE-LABlab(54.85, -51.45, 44.27)
CIE-LCHlch(54.85, 67.87, 139.29°)
OKLaboklab(59.38% -0.1393 0.1019)
OKLCHoklch(59.38% 0.173 143.8)
XYZxyz(12.4540, 22.7882, 6.4310)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28972F #972890
analogous
#589728 #28972F #289767
triadic
#28972F #2F2897 #972F28
tetradic
#28972F #285897 #972890 #976728
square
#28972F #285897 #972890 #976728
split-complementary
#28972F #672897 #972858
monochromatic
#0E3611 #1B6720 #28972F #35C73E #64D66B

Accessibility & contrast

On white

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

On black

5.56
#28972F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28972F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28972F#FFFFFF#000000##000000
##28972F1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28972f;
/* rgb */ color: rgb(40, 151, 47);
/* oklch */ color: oklch(59.4% 0.173 143.8);
Tailwind
colors: {
  custom: {
    50: '#74b76d',
    500: '#28972f',
    950: '#000000',
  },
}
SCSS
$custom: #28972f;
$custom-light: #74b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#28972f",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 123.784,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.17261,
    "h": 143.8
  },
  "luminance": 0.2279
}

Semantic roles & 50–950 ramp

primary
#28972F
secondary
#BC5FB6
accent
#46D8E1
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28972F

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

Preview Lab → · Contrast checker → · Palette generator →

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