#28791A#28791A

#28791A is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.150 H 141.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#28791A
RGBrgb(40, 121, 26)
HSLhsl(111, 65%, 29%)
HSVhsv(111, 79%, 47%)
CMYKcmyk(66.9%, 0%, 78.5%, 52.5%)
CIE-LABlab(44.52, -42.66, 41.97)
CIE-LCHlch(44.52, 59.85, 135.46°)
OKLaboklab(50.77% -0.1166 0.0943)
OKLCHoklch(50.77% 0.15 141)
XYZxyz(7.8985, 14.1997, 3.3016)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28791A #6B1A79
analogous
#58791A #28791A #1A793C
triadic
#28791A #1A2879 #791A28
tetradic
#28791A #1A5879 #6B1A79 #793C1A
square
#28791A #1A5879 #6B1A79 #793C1A
split-complementary
#28791A #3C1A79 #791A58
monochromatic
#081905 #17470F #28791A #39AB25 #50D439

Accessibility & contrast

On white

5.47
#28791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#28791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28791A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28791A#FFFFFF#000000##FFFFFF
##28791A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#1A7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #28791a;
/* rgb */ color: rgb(40, 121, 26);
/* oklch */ color: oklch(50.8% 0.150 141.0);
Tailwind
colors: {
  custom: {
    50: '#6ea15e',
    500: '#28791a',
    950: '#000000',
  },
}
SCSS
$custom: #28791a;
$custom-light: #6ea15e;
$custom-dark: #000000;
JSON
{
  "hex": "#28791a",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 111.158,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50766,
    "c": 0.14999,
    "h": 141
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#28791A
secondary
#9D41AD
accent
#40E8CF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #28791A

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

Preview Lab → · Contrast checker → · Palette generator →

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