#28952F#28952F

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

Color values

HEX#28952F
RGBrgb(40, 149, 47)
HSLhsl(124, 58%, 37%)
HSVhsv(124, 73%, 58%)
CMYKcmyk(73.2%, 0%, 68.5%, 41.6%)
CIE-LABlab(54.19, -50.76, 43.55)
CIE-LCHlch(54.19, 66.88, 139.37°)
OKLaboklab(58.83% -0.1374 0.1004)
OKLCHoklch(58.83% 0.17 143.9)
XYZxyz(12.1348, 22.1499, 6.3246)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28952F #95288E
analogous
#589528 #28952F #289566
triadic
#28952F #2F2895 #952F28
tetradic
#28952F #285895 #95288E #956628
square
#28952F #285895 #95288E #956628
split-complementary
#28952F #662895 #952858
monochromatic
#0E3511 #1B6520 #28952F #35C53E #62D56A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28952F#FFFFFF#000000##000000
##28952F1.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)
#988721
Deuteranopia (green-blind)
#8B7E38
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28952f;
/* rgb */ color: rgb(40, 149, 47);
/* oklch */ color: oklch(58.8% 0.170 143.9);
Tailwind
colors: {
  custom: {
    50: '#73b56d',
    500: '#28952f',
    950: '#000000',
  },
}
SCSS
$custom: #28952f;
$custom-light: #73b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#28952f",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 123.853,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.17021,
    "h": 143.9
  },
  "luminance": 0.22151
}

Semantic roles & 50–950 ramp

primary
#28952F
secondary
#BB5EB5
accent
#47D7E1
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28952F

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

Preview Lab → · Contrast checker → · Palette generator →

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