#28954D#28954D

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

Color values

HEX#28954D
RGBrgb(40, 149, 77)
HSLhsl(140, 58%, 37%)
HSVhsv(140, 73%, 58%)
CMYKcmyk(73.2%, 0%, 48.3%, 41.6%)
CIE-LABlab(54.53, -46.66, 29.38)
CIE-LCHlch(54.53, 55.15, 147.80°)
OKLaboklab(59.23% -0.1256 0.0718)
OKLCHoklch(59.23% 0.145 150.2)
XYZxyz(12.9610, 22.4804, 10.6758)
Luminance0.2248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28954D #952870
analogous
#3A9528 #28954D #289584
triadic
#28954D #4D2895 #954D28
tetradic
#28954D #283A95 #952870 #958428
square
#28954D #283A95 #952870 #958428
split-complementary
#28954D #842895 #95283A
monochromatic
#0E351B #1B6534 #28954D #35C566 #62D589

Accessibility & contrast

On white

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

On black

5.50
#28954D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28954D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28954D#FFFFFF#000000##000000
##28954D1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28954d;
/* rgb */ color: rgb(40, 149, 77);
/* oklch */ color: oklch(59.2% 0.145 150.2);
Tailwind
colors: {
  custom: {
    50: '#72b580',
    500: '#28954d',
    950: '#000000',
  },
}
SCSS
$custom: #28954d;
$custom-light: #72b580;
$custom-dark: #000000;
JSON
{
  "hex": "#28954d",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 77
  },
  "hsl": {
    "h": 140.367,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5923,
    "c": 0.14465,
    "h": 150.2
  },
  "luminance": 0.22482
}

Semantic roles & 50–950 ramp

primary
#28954D
secondary
#BB5E9B
accent
#47ADE1
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #28954D

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

Preview Lab → · Contrast checker → · Palette generator →

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