#28781A#28781A

#28781A is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.149 H 141.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#28781A
RGBrgb(40, 120, 26)
HSLhsl(111, 64%, 29%)
HSVhsv(111, 78%, 47%)
CMYKcmyk(66.7%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.17, -42.29, 41.63)
CIE-LCHlch(44.17, 59.35, 135.45°)
OKLaboklab(50.48% -0.1156 0.0936)
OKLCHoklch(50.48% 0.149 141)
XYZxyz(7.7776, 13.9579, 3.2613)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28781A #6A1A78
analogous
#57781A #28781A #1A783B
triadic
#28781A #1A2878 #781A28
tetradic
#28781A #1A5778 #6A1A78 #783B1A
square
#28781A #1A5778 #6A1A78 #783B1A
split-complementary
#28781A #3B1A78 #781A57
monochromatic
#081905 #17460F #28781A #39AA25 #50D438

Accessibility & contrast

On white

5.54
#28781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#28781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28781A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28781A#FFFFFF#000000##FFFFFF
##28781A1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#1A7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #28781a;
/* rgb */ color: rgb(40, 120, 26);
/* oklch */ color: oklch(50.5% 0.149 141.0);
Tailwind
colors: {
  custom: {
    50: '#6ea05e',
    500: '#28781a',
    950: '#000000',
  },
}
SCSS
$custom: #28781a;
$custom-light: #6ea05e;
$custom-dark: #000000;
JSON
{
  "hex": "#28781a",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 111.064,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5048,
    "c": 0.14877,
    "h": 141
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#28781A
secondary
#9D41AC
accent
#40E7CF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #28781A

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

Preview Lab → · Contrast checker → · Palette generator →

#28781A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva