#28952E#28952E

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

Color values

HEX#28952E
RGBrgb(40, 149, 46)
HSLhsl(123, 58%, 37%)
HSVhsv(123, 73%, 58%)
CMYKcmyk(73.2%, 0%, 69.1%, 41.6%)
CIE-LABlab(54.18, -50.86, 43.97)
CIE-LCHlch(54.18, 67.23, 139.15°)
OKLaboklab(58.82% -0.1378 0.1012)
OKLCHoklch(58.82% 0.171 143.7)
XYZxyz(12.1149, 22.1419, 6.2196)
Luminance0.2214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28952E #95288F
analogous
#589528 #28952E #289565
triadic
#28952E #2E2895 #952E28
tetradic
#28952E #285895 #95288F #956528
square
#28952E #285895 #95288F #956528
split-complementary
#28952E #652895 #952858
monochromatic
#0E3510 #1B651F #28952E #35C53D #62D569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28952E#FFFFFF#000000##000000
##28952E1.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)
#988720
Deuteranopia (green-blind)
#8C7E38
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28952e;
/* rgb */ color: rgb(40, 149, 46);
/* oklch */ color: oklch(58.8% 0.171 143.7);
Tailwind
colors: {
  custom: {
    50: '#73b56c',
    500: '#28952e',
    950: '#000000',
  },
}
SCSS
$custom: #28952e;
$custom-light: #73b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#28952e",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 46
  },
  "hsl": {
    "h": 123.303,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5882,
    "c": 0.17091,
    "h": 143.7
  },
  "luminance": 0.22143
}

Semantic roles & 50–950 ramp

primary
#28952E
secondary
#BB5EB6
accent
#47D8E1
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28952E

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

Preview Lab → · Contrast checker → · Palette generator →

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