#28804D#28804D

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

Color values

HEX#28804D
RGBrgb(40, 128, 77)
HSLhsl(145, 52%, 33%)
HSVhsv(145, 69%, 50%)
CMYKcmyk(68.8%, 0%, 39.8%, 49.8%)
CIE-LABlab(47.53, -38.31, 20.31)
CIE-LCHlch(47.53, 43.36, 152.07°)
OKLaboklab(53.45% -0.1035 0.0507)
OKLCHoklch(53.45% 0.115 153.9)
XYZxyz(9.9329, 16.4242, 9.6665)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28804D #80285B
analogous
#2F8028 #28804D #288079
triadic
#28804D #4D2880 #804D28
tetradic
#28804D #282F80 #80285B #807928
square
#28804D #282F80 #80285B #807928
split-complementary
#28804D #792880 #80282F
monochromatic
#0B2315 #195131 #28804D #37AF69 #58CB88

Accessibility & contrast

On white

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

On black

4.28
#28804D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##28804D#FFFFFF#000000##FFFFFF
##28804D1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80754A
Deuteranopia (green-blind)
#756E50
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28804d;
/* rgb */ color: rgb(40, 128, 77);
/* oklch */ color: oklch(53.5% 0.115 153.9);
Tailwind
colors: {
  custom: {
    50: '#6da67f',
    500: '#28804d',
    950: '#000000',
  },
}
SCSS
$custom: #28804d;
$custom-light: #6da67f;
$custom-dark: #000000;
JSON
{
  "hex": "#28804d",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 77
  },
  "hsl": {
    "h": 145.227,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53451,
    "c": 0.11528,
    "h": 153.9
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

primary
#28804D
secondary
#B05489
accent
#4C9FDC
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #28804D

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

Preview Lab → · Contrast checker → · Palette generator →

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