#28971D#28971D

#28971D is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.2% C 0.183 H 141.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#28971D
RGBrgb(40, 151, 29)
HSLhsl(115, 68%, 35%)
HSVhsv(115, 81%, 59%)
CMYKcmyk(73.5%, 0%, 80.8%, 40.8%)
CIE-LABlab(54.73, -52.92, 50.83)
CIE-LCHlch(54.73, 73.38, 136.16°)
OKLaboklab(59.24% -0.1442 0.1132)
OKLCHoklch(59.24% 0.183 141.9)
XYZxyz(12.1628, 22.6717, 4.8972)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28971D #8C1D97
analogous
#65971D #28971D #1D974F
triadic
#28971D #1D2897 #971D28
tetradic
#28971D #1D6597 #8C1D97 #974F1D
square
#28971D #1D6597 #8C1D97 #974F1D
split-complementary
#28971D #4F1D97 #971D65
monochromatic
#0D3009 #1A6413 #28971D #36CA27 #5EDE51

Accessibility & contrast

On white

3.79
#28971D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#28971D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28971D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28971D#FFFFFF#000000##000000
##28971D1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#029281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #28971d;
/* rgb */ color: rgb(40, 151, 29);
/* oklch */ color: oklch(59.2% 0.183 141.9);
Tailwind
colors: {
  custom: {
    50: '#75b764',
    500: '#28971d',
    950: '#000000',
  },
}
SCSS
$custom: #28971d;
$custom-light: #75b764;
$custom-dark: #000000;
JSON
{
  "hex": "#28971d",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 114.59,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59244,
    "c": 0.18332,
    "h": 141.9
  },
  "luminance": 0.22673
}

Semantic roles & 50–950 ramp

primary
#28971D
secondary
#B64FC0
accent
#3DEBDB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #28971D

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

Preview Lab → · Contrast checker → · Palette generator →

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