#28904C#28904C

#28904C is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.139 H 150.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#28904C
RGBrgb(40, 144, 76)
HSLhsl(141, 57%, 36%)
HSVhsv(141, 72%, 56%)
CMYKcmyk(72.2%, 0%, 47.2%, 43.5%)
CIE-LABlab(52.86, -44.92, 27.79)
CIE-LCHlch(52.86, 52.83, 148.26°)
OKLaboklab(57.84% -0.1209 0.0681)
OKLCHoklch(57.84% 0.139 150.6)
XYZxyz(12.1518, 20.9181, 10.2332)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28904C #90286C
analogous
#389028 #28904C #289080
triadic
#28904C #4C2890 #904C28
tetradic
#28904C #283890 #90286C #908028
square
#28904C #283890 #90286C #908028
split-complementary
#28904C #802890 #902838
monochromatic
#0D3019 #1B6033 #28904C #35C065 #60D387

Accessibility & contrast

On white

4.05
#28904C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#28904C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28904C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28904C#FFFFFF#000000##000000
##28904C1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918447
Deuteranopia (green-blind)
#847B51
Tritanopia (blue-blind)
#008E80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #28904c;
/* rgb */ color: rgb(40, 144, 76);
/* oklch */ color: oklch(57.8% 0.139 150.6);
Tailwind
colors: {
  custom: {
    50: '#71b17f',
    500: '#28904c',
    950: '#000000',
  },
}
SCSS
$custom: #28904c;
$custom-light: #71b17f;
$custom-dark: #000000;
JSON
{
  "hex": "#28904c",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 76
  },
  "hsl": {
    "h": 140.769,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57843,
    "c": 0.1388,
    "h": 150.6
  },
  "luminance": 0.20919
}

Semantic roles & 50–950 ramp

primary
#28904C
secondary
#B85C98
accent
#48ABE0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #28904C

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

Preview Lab → · Contrast checker → · Palette generator →

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