#28803C#28803C

#28803C is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.132 H 147.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#28803C
RGBrgb(40, 128, 60)
HSLhsl(134, 52%, 33%)
HSVhsv(134, 69%, 50%)
CMYKcmyk(68.8%, 0%, 53.1%, 49.8%)
CIE-LABlab(47.25, -41.35, 29.29)
CIE-LCHlch(47.25, 50.67, 144.69°)
OKLaboklab(53.14% -0.1115 0.0707)
OKLCHoklch(53.14% 0.132 147.6)
XYZxyz(9.4092, 16.2147, 6.9080)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28803C #80286C
analogous
#408028 #28803C #288068
triadic
#28803C #3C2880 #803C28
tetradic
#28803C #284080 #80286C #806828
square
#28803C #284080 #80286C #806828
split-complementary
#28803C #682880 #802840
monochromatic
#0B2310 #195126 #28803C #37AF52 #58CB72

Accessibility & contrast

On white

4.95
#28803C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#28803C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28803C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28803C#FFFFFF#000000##FFFFFF
##28803C1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817536
Deuteranopia (green-blind)
#776D41
Tritanopia (blue-blind)
#077D70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28803c;
/* rgb */ color: rgb(40, 128, 60);
/* oklch */ color: oklch(53.1% 0.132 147.6);
Tailwind
colors: {
  custom: {
    50: '#6ea673',
    500: '#28803c',
    950: '#000000',
  },
}
SCSS
$custom: #28803c;
$custom-light: #6ea673;
$custom-dark: #000000;
JSON
{
  "hex": "#28803c",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 60
  },
  "hsl": {
    "h": 133.636,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53139,
    "c": 0.13206,
    "h": 147.6
  },
  "luminance": 0.16216
}

Semantic roles & 50–950 ramp

primary
#28803C
secondary
#B0549B
accent
#4CBBDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #28803C

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

Preview Lab → · Contrast checker → · Palette generator →

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