#28954A#28954A

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

Color values

HEX#28954A
RGBrgb(40, 149, 74)
HSLhsl(139, 58%, 37%)
HSVhsv(139, 73%, 58%)
CMYKcmyk(73.2%, 0%, 50.3%, 41.6%)
CIE-LABlab(54.49, -47.16, 30.91)
CIE-LCHlch(54.49, 56.39, 146.76°)
OKLaboklab(59.18% -0.1269 0.0751)
OKLCHoklch(59.18% 0.147 149.4)
XYZxyz(12.8575, 22.4390, 10.1308)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28954A #952873
analogous
#3C9528 #28954A #289581
triadic
#28954A #4A2895 #954A28
tetradic
#28954A #283C95 #952873 #958128
square
#28954A #283C95 #952873 #958128
split-complementary
#28954A #812895 #95283C
monochromatic
#0E351A #1B6532 #28954A #35C562 #62D586

Accessibility & contrast

On white

3.83
#28954A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##28954A#FFFFFF#000000##000000
##28954A1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968844
Deuteranopia (green-blind)
#897F4F
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28954a;
/* rgb */ color: rgb(40, 149, 74);
/* oklch */ color: oklch(59.2% 0.147 149.4);
Tailwind
colors: {
  custom: {
    50: '#72b57e',
    500: '#28954a',
    950: '#000000',
  },
}
SCSS
$custom: #28954a;
$custom-light: #72b57e;
$custom-dark: #000000;
JSON
{
  "hex": "#28954a",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 74
  },
  "hsl": {
    "h": 138.716,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5918,
    "c": 0.14747,
    "h": 149.4
  },
  "luminance": 0.2244
}

Semantic roles & 50–950 ramp

primary
#28954A
secondary
#BB5E9E
accent
#47B1E1
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #28954A

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

Preview Lab → · Contrast checker → · Palette generator →

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