#28952D#28952D

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

Color values

HEX#28952D
RGBrgb(40, 149, 45)
HSLhsl(123, 58%, 37%)
HSVhsv(123, 73%, 58%)
CMYKcmyk(73.2%, 0%, 69.8%, 41.6%)
CIE-LABlab(54.17, -50.96, 44.38)
CIE-LCHlch(54.17, 67.58, 138.94°)
OKLaboklab(58.81% -0.1381 0.1019)
OKLCHoklch(58.81% 0.172 143.6)
XYZxyz(12.0954, 22.1341, 6.1170)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28952D #952890
analogous
#5A9528 #28952D #289563
triadic
#28952D #2D2895 #952D28
tetradic
#28952D #285A95 #952890 #956328
square
#28952D #285A95 #952890 #956328
split-complementary
#28952D #632895 #95285A
monochromatic
#0E3510 #1B651E #28952D #35C53C #62D568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28952D#FFFFFF#000000##000000
##28952D1.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)
#98871E
Deuteranopia (green-blind)
#8C7E37
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #28952d;
/* rgb */ color: rgb(40, 149, 45);
/* oklch */ color: oklch(58.8% 0.172 143.6);
Tailwind
colors: {
  custom: {
    50: '#73b56b',
    500: '#28952d',
    950: '#000000',
  },
}
SCSS
$custom: #28952d;
$custom-light: #73b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#28952d",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 122.752,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5881,
    "c": 0.17161,
    "h": 143.6
  },
  "luminance": 0.22135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28952D

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

Preview Lab → · Contrast checker → · Palette generator →

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