#28972C#28972C

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

Color values

HEX#28972C
RGBrgb(40, 151, 44)
HSLhsl(122, 58%, 37%)
HSVhsv(122, 74%, 59%)
CMYKcmyk(73.5%, 0%, 70.9%, 40.8%)
CIE-LABlab(54.83, -51.74, 45.49)
CIE-LCHlch(54.83, 68.90, 138.67°)
OKLaboklab(59.36% -0.1403 0.1041)
OKLCHoklch(59.36% 0.175 143.4)
XYZxyz(12.3955, 22.7648, 6.1232)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28972C #972893
analogous
#5C9728 #28972C #289763
triadic
#28972C #2C2897 #972C28
tetradic
#28972C #285C97 #972893 #976328
square
#28972C #285C97 #972893 #976328
split-complementary
#28972C #632897 #97285C
monochromatic
#0E3610 #1B671E #28972C #35C73A #64D668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28972C#FFFFFF#000000##000000
##28972C1.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)
#9A891C
Deuteranopia (green-blind)
#8D8036
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #28972c;
/* rgb */ color: rgb(40, 151, 44);
/* oklch */ color: oklch(59.4% 0.175 143.4);
Tailwind
colors: {
  custom: {
    50: '#74b76b',
    500: '#28972c',
    950: '#000000',
  },
}
SCSS
$custom: #28972c;
$custom-light: #74b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#28972c",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 44
  },
  "hsl": {
    "h": 122.162,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.17468,
    "h": 143.4
  },
  "luminance": 0.22766
}

Semantic roles & 50–950 ramp

primary
#28972C
secondary
#BC5FB8
accent
#46DCE1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28972C

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

Preview Lab → · Contrast checker → · Palette generator →

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