#28952B#28952B

#28952B is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.173 H 143.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#28952B
RGBrgb(40, 149, 43)
HSLhsl(122, 58%, 37%)
HSVhsv(122, 73%, 58%)
CMYKcmyk(73.2%, 0%, 71.1%, 41.6%)
CIE-LABlab(54.15, -51.15, 45.19)
CIE-LCHlch(54.15, 68.25, 138.54°)
OKLaboklab(58.79% -0.1387 0.1033)
OKLCHoklch(58.79% 0.173 143.3)
XYZxyz(12.0578, 22.1191, 5.9190)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28952B #952892
analogous
#5C9528 #28952B #289561
triadic
#28952B #2B2895 #952B28
tetradic
#28952B #285C95 #952892 #956128
square
#28952B #285C95 #952892 #956128
split-complementary
#28952B #612895 #95285C
monochromatic
#0E350F #1B651D #28952B #35C539 #62D566

Accessibility & contrast

On white

3.87
#28952B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#28952B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28952B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28952B#FFFFFF#000000##000000
##28952B1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871B
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #28952b;
/* rgb */ color: rgb(40, 149, 43);
/* oklch */ color: oklch(58.8% 0.173 143.3);
Tailwind
colors: {
  custom: {
    50: '#73b56a',
    500: '#28952b',
    950: '#000000',
  },
}
SCSS
$custom: #28952b;
$custom-light: #73b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#28952b",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 121.651,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.17297,
    "h": 143.3
  },
  "luminance": 0.2212
}

Semantic roles & 50–950 ramp

primary
#28952B
secondary
#BB5EB8
accent
#47DDE1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28952B

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

Preview Lab → · Contrast checker → · Palette generator →

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