#28982C#28982C

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

Color values

HEX#28982C
RGBrgb(40, 152, 44)
HSLhsl(122, 58%, 38%)
HSVhsv(122, 74%, 60%)
CMYKcmyk(73.7%, 0%, 71.1%, 40.4%)
CIE-LABlab(55.16, -52.08, 45.85)
CIE-LCHlch(55.16, 69.38, 138.64°)
OKLaboklab(59.63% -0.1412 0.1048)
OKLCHoklch(59.63% 0.176 143.4)
XYZxyz(12.5571, 23.0880, 6.1770)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28982C #982894
analogous
#5C9828 #28982C #289864
triadic
#28982C #2C2898 #982C28
tetradic
#28982C #285C98 #982894 #986428
square
#28982C #285C98 #982894 #986428
split-complementary
#28982C #642898 #98285C
monochromatic
#0F3710 #1B681E #28982C #35C83A #64D668

Accessibility & contrast

On white

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

On black

5.62
#28982C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28982C
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28982C#FFFFFF#000000##000000
##28982C1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28982c;
/* rgb */ color: rgb(40, 152, 44);
/* oklch */ color: oklch(59.6% 0.176 143.4);
Tailwind
colors: {
  custom: {
    50: '#74b76b',
    500: '#28982c',
    950: '#000000',
  },
}
SCSS
$custom: #28982c;
$custom-light: #74b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#28982c",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 122.143,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59632,
    "c": 0.17586,
    "h": 143.4
  },
  "luminance": 0.23089
}

Semantic roles & 50–950 ramp

primary
#28982C
secondary
#BC60B9
accent
#46DCE2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28982C

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

Preview Lab → · Contrast checker → · Palette generator →

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