#28954C#28954C

#28954C is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.146 H 150.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#28954C
RGBrgb(40, 149, 76)
HSLhsl(140, 58%, 37%)
HSVhsv(140, 73%, 58%)
CMYKcmyk(73.2%, 0%, 49%, 41.6%)
CIE-LABlab(54.52, -46.83, 29.89)
CIE-LCHlch(54.52, 55.56, 147.45°)
OKLaboklab(59.21% -0.126 0.0729)
OKLCHoklch(59.21% 0.146 150)
XYZxyz(12.9260, 22.4663, 10.4913)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28954C #952871
analogous
#3A9528 #28954C #289583
triadic
#28954C #4C2895 #954C28
tetradic
#28954C #283A95 #952871 #958328
square
#28954C #283A95 #952871 #958328
split-complementary
#28954C #832895 #95283A
monochromatic
#0E351B #1B6533 #28954C #35C565 #62D588

Accessibility & contrast

On white

3.82
#28954C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#28954C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28954C
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28954C#FFFFFF#000000##000000
##28954C1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968846
Deuteranopia (green-blind)
#897F51
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28954c;
/* rgb */ color: rgb(40, 149, 76);
/* oklch */ color: oklch(59.2% 0.146 150.0);
Tailwind
colors: {
  custom: {
    50: '#72b57f',
    500: '#28954c',
    950: '#000000',
  },
}
SCSS
$custom: #28954c;
$custom-light: #72b57f;
$custom-dark: #000000;
JSON
{
  "hex": "#28954c",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 76
  },
  "hsl": {
    "h": 139.817,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59213,
    "c": 0.1456,
    "h": 150
  },
  "luminance": 0.22468
}

Semantic roles & 50–950 ramp

primary
#28954C
secondary
#BB5E9C
accent
#47AEE1
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #28954C

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

Preview Lab → · Contrast checker → · Palette generator →

#28954C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva