#28982F#28982F

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

Color values

HEX#28982F
RGBrgb(40, 152, 47)
HSLhsl(124, 58%, 38%)
HSVhsv(124, 74%, 60%)
CMYKcmyk(73.7%, 0%, 69.1%, 40.4%)
CIE-LABlab(55.19, -51.79, 44.63)
CIE-LCHlch(55.19, 68.37, 139.25°)
OKLaboklab(59.66% -0.1403 0.1027)
OKLCHoklch(59.66% 0.174 143.8)
XYZxyz(12.6156, 23.1114, 6.4849)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28982F #982891
analogous
#599828 #28982F #289867
triadic
#28982F #2F2898 #982F28
tetradic
#28982F #285998 #982891 #986728
square
#28982F #285998 #982891 #986728
split-complementary
#28982F #672898 #982859
monochromatic
#0F3711 #1B6820 #28982F #35C83E #64D66B

Accessibility & contrast

On white

3.73
#28982F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##28982F#FFFFFF#000000##000000
##28982F1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8920
Deuteranopia (green-blind)
#8E8139
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #28982f;
/* rgb */ color: rgb(40, 152, 47);
/* oklch */ color: oklch(59.7% 0.174 143.8);
Tailwind
colors: {
  custom: {
    50: '#74b76d',
    500: '#28982f',
    950: '#000000',
  },
}
SCSS
$custom: #28982f;
$custom-light: #74b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#28982f",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 123.75,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5966,
    "c": 0.17381,
    "h": 143.8
  },
  "luminance": 0.23113
}

Semantic roles & 50–950 ramp

primary
#28982F
secondary
#BC60B6
accent
#46D8E2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28982F

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

Preview Lab → · Contrast checker → · Palette generator →

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