#28955A#28955A

#28955A is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.5% C 0.132 H 154.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#28955A
RGBrgb(40, 149, 90)
HSLhsl(148, 58%, 37%)
HSVhsv(148, 73%, 58%)
CMYKcmyk(73.2%, 0%, 39.6%, 41.6%)
CIE-LABlab(54.74, -44.27, 22.64)
CIE-LCHlch(54.74, 49.72, 152.91°)
OKLaboklab(59.47% -0.1195 0.0565)
OKLCHoklch(59.47% 0.132 154.7)
XYZxyz(13.4667, 22.6827, 13.3393)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28955A #952863
analogous
#2D9528 #28955A #289591
triadic
#28955A #5A2895 #955A28
tetradic
#28955A #282D95 #952863 #959128
square
#28955A #282D95 #952863 #959128
split-complementary
#28955A #912895 #95282D
monochromatic
#0E3520 #1B653D #28955A #35C577 #62D597

Accessibility & contrast

On white

3.79
#28955A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#28955A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28955A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28955A#FFFFFF#000000##000000
##28955A1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958956
Deuteranopia (green-blind)
#877F5E
Tritanopia (blue-blind)
#009386
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #28955a;
/* rgb */ color: rgb(40, 149, 90);
/* oklch */ color: oklch(59.5% 0.132 154.7);
Tailwind
colors: {
  custom: {
    50: '#72b589',
    500: '#28955a',
    950: '#000000',
  },
}
SCSS
$custom: #28955a;
$custom-light: #72b589;
$custom-dark: #000000;
JSON
{
  "hex": "#28955a",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 90
  },
  "hsl": {
    "h": 147.523,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.13218,
    "h": 154.7
  },
  "luminance": 0.22684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28955A

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

Preview Lab → · Contrast checker → · Palette generator →

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