#28945A#28945A

#28945A is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.2% C 0.131 H 154.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#28945A
RGBrgb(40, 148, 90)
HSLhsl(148, 57%, 37%)
HSVhsv(148, 73%, 58%)
CMYKcmyk(73%, 0%, 39.2%, 42%)
CIE-LABlab(54.41, -43.87, 22.20)
CIE-LCHlch(54.41, 49.17, 153.16°)
OKLaboklab(59.2% -0.1185 0.0555)
OKLCHoklch(59.2% 0.131 154.9)
XYZxyz(13.3092, 22.3676, 13.2868)
Luminance0.2237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28945A #942862
analogous
#2C9428 #28945A #289490
triadic
#28945A #5A2894 #945A28
tetradic
#28945A #282C94 #942862 #949028
square
#28945A #282C94 #942862 #949028
split-complementary
#28945A #902894 #94282C
monochromatic
#0E341F #1B643D #28945A #35C477 #62D597

Accessibility & contrast

On white

3.84
#28945A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#28945A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28945A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28945A#FFFFFF#000000##000000
##28945A1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948856
Deuteranopia (green-blind)
#867E5E
Tritanopia (blue-blind)
#009285
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28945a;
/* rgb */ color: rgb(40, 148, 90);
/* oklch */ color: oklch(59.2% 0.131 154.9);
Tailwind
colors: {
  custom: {
    50: '#72b489',
    500: '#28945a',
    950: '#000000',
  },
}
SCSS
$custom: #28945a;
$custom-light: #72b489;
$custom-dark: #000000;
JSON
{
  "hex": "#28945a",
  "rgb": {
    "r": 40,
    "g": 148,
    "b": 90
  },
  "hsl": {
    "h": 147.778,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59201,
    "c": 0.13081,
    "h": 154.9
  },
  "luminance": 0.22369
}

Semantic roles & 50–950 ramp

primary
#28945A
secondary
#BA5E8F
accent
#479AE1
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #28945A

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

Preview Lab → · Contrast checker → · Palette generator →

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