#28952C#28952C

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

Color values

HEX#28952C
RGBrgb(40, 149, 44)
HSLhsl(122, 58%, 37%)
HSVhsv(122, 73%, 58%)
CMYKcmyk(73.2%, 0%, 70.5%, 41.6%)
CIE-LABlab(54.16, -51.05, 44.79)
CIE-LCHlch(54.16, 67.92, 138.74°)
OKLaboklab(58.8% -0.1384 0.1026)
OKLCHoklch(58.8% 0.172 143.4)
XYZxyz(12.0764, 22.1265, 6.0168)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28952C #952891
analogous
#5B9528 #28952C #289563
triadic
#28952C #2C2895 #952C28
tetradic
#28952C #285B95 #952891 #956328
square
#28952C #285B95 #952891 #956328
split-complementary
#28952C #632895 #95285B
monochromatic
#0E3510 #1B651E #28952C #35C53A #62D567

Accessibility & contrast

On white

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

On black

5.43
#28952C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28952C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28952C#FFFFFF#000000##000000
##28952C1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28952c;
/* rgb */ color: rgb(40, 149, 44);
/* oklch */ color: oklch(58.8% 0.172 143.4);
Tailwind
colors: {
  custom: {
    50: '#73b56b',
    500: '#28952c',
    950: '#000000',
  },
}
SCSS
$custom: #28952c;
$custom-light: #73b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#28952c",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 44
  },
  "hsl": {
    "h": 122.202,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.17229,
    "h": 143.4
  },
  "luminance": 0.22128
}

Semantic roles & 50–950 ramp

primary
#28952C
secondary
#BB5EB7
accent
#47DBE1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28952C

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

Preview Lab → · Contrast checker → · Palette generator →

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