#28761A#28761A

#28761A is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.146 H 141.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#28761A
RGBrgb(40, 118, 26)
HSLhsl(111, 64%, 28%)
HSVhsv(111, 78%, 46%)
CMYKcmyk(66.1%, 0%, 78%, 53.7%)
CIE-LABlab(43.48, -41.55, 40.95)
CIE-LCHlch(43.48, 58.33, 135.41°)
OKLaboklab(49.91% -0.1136 0.0922)
OKLCHoklch(49.91% 0.146 141)
XYZxyz(7.5396, 13.4818, 3.1820)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28761A #681A76
analogous
#56761A #28761A #1A763A
triadic
#28761A #1A2876 #761A28
tetradic
#28761A #1A5676 #681A76 #763A1A
square
#28761A #1A5676 #681A76 #763A1A
split-complementary
#28761A #3A1A76 #761A56
monochromatic
#081906 #17440F #28761A #39A825 #4FD337

Accessibility & contrast

On white

5.68
#28761A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#28761A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28761A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28761A#FFFFFF#000000##FFFFFF
##28761A1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B07
Deuteranopia (green-blind)
#706424
Tritanopia (blue-blind)
#1B7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #28761a;
/* rgb */ color: rgb(40, 118, 26);
/* oklch */ color: oklch(49.9% 0.146 141.0);
Tailwind
colors: {
  custom: {
    50: '#6d9e5e',
    500: '#28761a',
    950: '#000000',
  },
}
SCSS
$custom: #28761a;
$custom-light: #6d9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#28761a",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 26
  },
  "hsl": {
    "h": 110.87,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.14631,
    "h": 141
  },
  "luminance": 0.13483
}

Semantic roles & 50–950 ramp

primary
#28761A
secondary
#9B41AB
accent
#41E7CE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28761A

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

Preview Lab → · Contrast checker → · Palette generator →

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