#28973D#28973D

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

Color values

HEX#28973D
RGBrgb(40, 151, 61)
HSLhsl(131, 58%, 37%)
HSVhsv(131, 74%, 59%)
CMYKcmyk(73.5%, 0%, 59.6%, 40.8%)
CIE-LABlab(54.99, -49.82, 38.06)
CIE-LCHlch(54.99, 62.69, 142.62°)
OKLaboklab(59.54% -0.1343 0.0901)
OKLCHoklch(59.54% 0.162 146.2)
XYZxyz(12.7831, 22.9198, 8.1642)
Luminance0.2292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28973D #972882
analogous
#4B9728 #28973D #289774
triadic
#28973D #3D2897 #973D28
tetradic
#28973D #284B97 #972882 #977428
square
#28973D #284B97 #972882 #977428
split-complementary
#28973D #742897 #97284B
monochromatic
#0E3616 #1B6729 #28973D #35C751 #64D679

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28973D#FFFFFF#000000##000000
##28973D1.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)
#998934
Deuteranopia (green-blind)
#8C8044
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #28973d;
/* rgb */ color: rgb(40, 151, 61);
/* oklch */ color: oklch(59.5% 0.162 146.2);
Tailwind
colors: {
  custom: {
    50: '#73b775',
    500: '#28973d',
    950: '#000000',
  },
}
SCSS
$custom: #28973d;
$custom-light: #73b775;
$custom-dark: #000000;
JSON
{
  "hex": "#28973d",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 61
  },
  "hsl": {
    "h": 131.351,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5954,
    "c": 0.16172,
    "h": 146.2
  },
  "luminance": 0.22921
}

Semantic roles & 50–950 ramp

primary
#28973D
secondary
#BC5FAA
accent
#46C4E1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #28973D

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

Preview Lab → · Contrast checker → · Palette generator →

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