#28803E#28803E

#28803E is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.130 H 148.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#28803E
RGBrgb(40, 128, 62)
HSLhsl(135, 52%, 33%)
HSVhsv(135, 69%, 50%)
CMYKcmyk(68.8%, 0%, 51.6%, 49.8%)
CIE-LABlab(47.28, -41.03, 28.26)
CIE-LCHlch(47.28, 49.82, 145.44°)
OKLaboklab(53.17% -0.1106 0.0685)
OKLCHoklch(53.17% 0.13 148.2)
XYZxyz(9.4630, 16.2363, 7.1917)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28803E #80286A
analogous
#3E8028 #28803E #28806A
triadic
#28803E #3E2880 #803E28
tetradic
#28803E #283E80 #80286A #806A28
square
#28803E #283E80 #80286A #806A28
split-complementary
#28803E #6A2880 #80283E
monochromatic
#0B2311 #195127 #28803E #37AF55 #58CB74

Accessibility & contrast

On white

4.94
#28803E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#28803E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28803E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28803E#FFFFFF#000000##FFFFFF
##28803E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817538
Deuteranopia (green-blind)
#766D43
Tritanopia (blue-blind)
#057D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28803e;
/* rgb */ color: rgb(40, 128, 62);
/* oklch */ color: oklch(53.2% 0.130 148.2);
Tailwind
colors: {
  custom: {
    50: '#6ea674',
    500: '#28803e',
    950: '#000000',
  },
}
SCSS
$custom: #28803e;
$custom-light: #6ea674;
$custom-dark: #000000;
JSON
{
  "hex": "#28803e",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 62
  },
  "hsl": {
    "h": 135,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.13014,
    "h": 148.2
  },
  "luminance": 0.16237
}

Semantic roles & 50–950 ramp

primary
#28803E
secondary
#B05499
accent
#4CB8DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #28803E

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

Preview Lab → · Contrast checker → · Palette generator →

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