#28904E#28904E

#28904E is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.137 H 151.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#28904E
RGBrgb(40, 144, 78)
HSLhsl(142, 57%, 36%)
HSVhsv(142, 72%, 56%)
CMYKcmyk(72.2%, 0%, 45.8%, 43.5%)
CIE-LABlab(52.89, -44.57, 26.76)
CIE-LCHlch(52.89, 51.98, 149.02°)
OKLaboklab(57.88% -0.12 0.0658)
OKLCHoklch(57.88% 0.137 151.3)
XYZxyz(12.2225, 20.9463, 10.6051)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28904E #90286A
analogous
#369028 #28904E #289082
triadic
#28904E #4E2890 #904E28
tetradic
#28904E #283690 #90286A #908228
square
#28904E #283690 #90286A #908228
split-complementary
#28904E #822890 #902836
monochromatic
#0D301A #1B6034 #28904E #35C068 #60D38A

Accessibility & contrast

On white

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

On black

5.19
#28904E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28904E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28904E#FFFFFF#000000##000000
##28904E1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28904e;
/* rgb */ color: rgb(40, 144, 78);
/* oklch */ color: oklch(57.9% 0.137 151.3);
Tailwind
colors: {
  custom: {
    50: '#71b180',
    500: '#28904e',
    950: '#000000',
  },
}
SCSS
$custom: #28904e;
$custom-light: #71b180;
$custom-dark: #000000;
JSON
{
  "hex": "#28904e",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 78
  },
  "hsl": {
    "h": 141.923,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57878,
    "c": 0.13687,
    "h": 151.3
  },
  "luminance": 0.20948
}

Semantic roles & 50–950 ramp

primary
#28904E
secondary
#B85C96
accent
#48A8E0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #28904E

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

Preview Lab → · Contrast checker → · Palette generator →

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