#28904A#28904A

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

Color values

HEX#28904A
RGBrgb(40, 144, 74)
HSLhsl(140, 57%, 36%)
HSVhsv(140, 72%, 56%)
CMYKcmyk(72.2%, 0%, 48.6%, 43.5%)
CIE-LABlab(52.83, -45.27, 28.82)
CIE-LCHlch(52.83, 53.66, 147.52°)
OKLaboklab(57.81% -0.1219 0.0704)
OKLCHoklch(57.81% 0.141 150)
XYZxyz(12.0834, 20.8907, 9.8727)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28904A #90286E
analogous
#3A9028 #28904A #28907E
triadic
#28904A #4A2890 #904A28
tetradic
#28904A #283A90 #90286E #907E28
square
#28904A #283A90 #90286E #907E28
split-complementary
#28904A #7E2890 #90283A
monochromatic
#0D3019 #1B6031 #28904A #35C063 #60D385

Accessibility & contrast

On white

4.06
#28904A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##28904A#FFFFFF#000000##000000
##28904A1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918344
Deuteranopia (green-blind)
#847B4F
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #28904a;
/* rgb */ color: rgb(40, 144, 74);
/* oklch */ color: oklch(57.8% 0.141 150.0);
Tailwind
colors: {
  custom: {
    50: '#71b17e',
    500: '#28904a',
    950: '#000000',
  },
}
SCSS
$custom: #28904a;
$custom-light: #71b17e;
$custom-dark: #000000;
JSON
{
  "hex": "#28904a",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 74
  },
  "hsl": {
    "h": 139.615,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57808,
    "c": 0.14072,
    "h": 150
  },
  "luminance": 0.20892
}

Semantic roles & 50–950 ramp

primary
#28904A
secondary
#B85C9A
accent
#48AEE0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #28904A

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

Preview Lab → · Contrast checker → · Palette generator →

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