#28804E#28804E

#28804E is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.5% C 0.114 H 154.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#28804E
RGBrgb(40, 128, 78)
HSLhsl(146, 52%, 33%)
HSVhsv(146, 69%, 50%)
CMYKcmyk(68.8%, 0%, 39.1%, 49.8%)
CIE-LABlab(47.54, -38.10, 19.77)
CIE-LCHlch(47.54, 42.93, 152.58°)
OKLaboklab(53.47% -0.103 0.0494)
OKLCHoklch(53.47% 0.114 154.4)
XYZxyz(9.9685, 16.4384, 9.8538)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28804E #80285A
analogous
#2E8028 #28804E #28807A
triadic
#28804E #4E2880 #804E28
tetradic
#28804E #282E80 #80285A #807A28
square
#28804E #282E80 #80285A #807A28
split-complementary
#28804E #7A2880 #80282E
monochromatic
#0B2315 #195132 #28804E #37AF6A #58CB89

Accessibility & contrast

On white

4.90
#28804E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#28804E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28804E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28804E#FFFFFF#000000##FFFFFF
##28804E1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764B
Deuteranopia (green-blind)
#746E51
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28804e;
/* rgb */ color: rgb(40, 128, 78);
/* oklch */ color: oklch(53.5% 0.114 154.4);
Tailwind
colors: {
  custom: {
    50: '#6da680',
    500: '#28804e',
    950: '#000000',
  },
}
SCSS
$custom: #28804e;
$custom-light: #6da680;
$custom-dark: #000000;
JSON
{
  "hex": "#28804e",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 78
  },
  "hsl": {
    "h": 145.909,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.11428,
    "h": 154.4
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#28804E
secondary
#B05488
accent
#4C9EDC
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #28804E

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

Preview Lab → · Contrast checker → · Palette generator →

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