#28941D#28941D

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

Color values

HEX#28941D
RGBrgb(40, 148, 29)
HSLhsl(114, 67%, 35%)
HSVhsv(114, 80%, 58%)
CMYKcmyk(73%, 0%, 80.4%, 42%)
CIE-LABlab(53.73, -51.92, 49.87)
CIE-LCHlch(53.73, 71.99, 136.15°)
OKLaboklab(58.41% -0.1415 0.1112)
OKLCHoklch(58.41% 0.18 141.8)
XYZxyz(11.6861, 21.7183, 4.7383)
Luminance0.2172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28941D #891D94
analogous
#63941D #28941D #1D944E
triadic
#28941D #1D2894 #941D28
tetradic
#28941D #1D6394 #891D94 #944E1D
square
#28941D #1D6394 #891D94 #944E1D
split-complementary
#28941D #4E1D94 #941D63
monochromatic
#0C2E09 #1A6113 #28941D #36C727 #5CDC4F

Accessibility & contrast

On white

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

On black

5.34
#28941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28941D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28941D#FFFFFF#000000##000000
##28941D1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28941d;
/* rgb */ color: rgb(40, 148, 29);
/* oklch */ color: oklch(58.4% 0.180 141.8);
Tailwind
colors: {
  custom: {
    50: '#74b463',
    500: '#28941d',
    950: '#000000',
  },
}
SCSS
$custom: #28941d;
$custom-light: #74b463;
$custom-dark: #000000;
JSON
{
  "hex": "#28941d",
  "rgb": {
    "r": 40,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 114.454,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58409,
    "c": 0.17996,
    "h": 141.8
  },
  "luminance": 0.2172
}

Semantic roles & 50–950 ramp

primary
#28941D
secondary
#B54EBF
accent
#3EEADA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #28941D

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

Preview Lab → · Contrast checker → · Palette generator →

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