#28941E#28941E

#28941E is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.4% C 0.179 H 141.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#28941E
RGBrgb(40, 148, 30)
HSLhsl(115, 66%, 35%)
HSVhsv(115, 80%, 58%)
CMYKcmyk(73%, 0%, 79.7%, 42%)
CIE-LABlab(53.73, -51.85, 49.55)
CIE-LCHlch(53.73, 71.73, 136.30°)
OKLaboklab(58.41% -0.1413 0.1107)
OKLCHoklch(58.41% 0.179 141.9)
XYZxyz(11.6987, 21.7234, 4.8045)
Luminance0.2172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28941E #8A1E94
analogous
#63941E #28941E #1E944F
triadic
#28941E #1E2894 #941E28
tetradic
#28941E #1E6394 #8A1E94 #944F1E
square
#28941E #1E6394 #8A1E94 #944F1E
split-complementary
#28941E #4F1E94 #941E63
monochromatic
#0C2E09 #1A6114 #28941E #36C728 #5DDC51

Accessibility & contrast

On white

3.93
#28941E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#28941E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28941E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28941E#FFFFFF#000000##000000
##28941E1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#058F7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #28941e;
/* rgb */ color: rgb(40, 148, 30);
/* oklch */ color: oklch(58.4% 0.179 141.9);
Tailwind
colors: {
  custom: {
    50: '#74b464',
    500: '#28941e',
    950: '#000000',
  },
}
SCSS
$custom: #28941e;
$custom-light: #74b464;
$custom-dark: #000000;
JSON
{
  "hex": "#28941e",
  "rgb": {
    "r": 40,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 114.915,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.17946,
    "h": 141.9
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

primary
#28941E
secondary
#B54FBF
accent
#3FE9DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #28941E

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

Preview Lab → · Contrast checker → · Palette generator →

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