#28982A#28982A

#28982A is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.6% C 0.177 H 143.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#28982A
RGBrgb(40, 152, 42)
HSLhsl(121, 58%, 38%)
HSVhsv(121, 74%, 60%)
CMYKcmyk(73.7%, 0%, 72.4%, 40.4%)
CIE-LABlab(55.15, -52.26, 46.63)
CIE-LCHlch(55.15, 70.04, 138.26°)
OKLaboklab(59.61% -0.1418 0.1062)
OKLCHoklch(59.61% 0.177 143.2)
XYZxyz(12.5205, 23.0734, 5.9838)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28982A #982896
analogous
#5E9828 #28982A #289862
triadic
#28982A #2A2898 #982A28
tetradic
#28982A #285E98 #982896 #986228
square
#28982A #285E98 #982896 #986228
split-complementary
#28982A #622898 #98285E
monochromatic
#0F370F #1B681D #28982A #35C837 #64D666

Accessibility & contrast

On white

3.74
#28982A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#28982A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28982A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28982A#FFFFFF#000000##000000
##28982A1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #28982a;
/* rgb */ color: rgb(40, 152, 42);
/* oklch */ color: oklch(59.6% 0.177 143.2);
Tailwind
colors: {
  custom: {
    50: '#74b76a',
    500: '#28982a',
    950: '#000000',
  },
}
SCSS
$custom: #28982a;
$custom-light: #74b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#28982a",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 121.071,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59615,
    "c": 0.17716,
    "h": 143.2
  },
  "luminance": 0.23075
}

Semantic roles & 50–950 ramp

primary
#28982A
secondary
#BC60BA
accent
#46DFE2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28982A

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

Preview Lab → · Contrast checker → · Palette generator →

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