#28952A#28952A

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

Color values

HEX#28952A
RGBrgb(40, 149, 42)
HSLhsl(121, 58%, 37%)
HSVhsv(121, 73%, 58%)
CMYKcmyk(73.2%, 0%, 71.8%, 41.6%)
CIE-LABlab(54.15, -51.24, 45.59)
CIE-LCHlch(54.15, 68.58, 138.34°)
OKLaboklab(58.78% -0.139 0.1041)
OKLCHoklch(58.78% 0.174 143.2)
XYZxyz(12.0397, 22.1118, 5.8235)
Luminance0.2211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28952A #952893
analogous
#5D9528 #28952A #289561
triadic
#28952A #2A2895 #952A28
tetradic
#28952A #285D95 #952893 #956128
square
#28952A #285D95 #952893 #956128
split-complementary
#28952A #612895 #95285D
monochromatic
#0E350F #1B651C #28952A #35C538 #62D565

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28952A#FFFFFF#000000##000000
##28952A1.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)
#988719
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #28952a;
/* rgb */ color: rgb(40, 149, 42);
/* oklch */ color: oklch(58.8% 0.174 143.2);
Tailwind
colors: {
  custom: {
    50: '#73b56a',
    500: '#28952a',
    950: '#000000',
  },
}
SCSS
$custom: #28952a;
$custom-light: #73b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#28952a",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 121.101,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.17364,
    "h": 143.2
  },
  "luminance": 0.22113
}

Semantic roles & 50–950 ramp

primary
#28952A
secondary
#BB5EB9
accent
#47DEE1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28952A

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

Preview Lab → · Contrast checker → · Palette generator →

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