#28982B#28982B

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

Color values

HEX#28982B
RGBrgb(40, 152, 43)
HSLhsl(122, 58%, 38%)
HSVhsv(122, 74%, 60%)
CMYKcmyk(73.7%, 0%, 71.7%, 40.4%)
CIE-LABlab(55.16, -52.17, 46.24)
CIE-LCHlch(55.16, 69.72, 138.45°)
OKLaboklab(59.62% -0.1415 0.1055)
OKLCHoklch(59.62% 0.177 143.3)
XYZxyz(12.5386, 23.0806, 6.0792)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28982B #982895
analogous
#5D9828 #28982B #289863
triadic
#28982B #2B2898 #982B28
tetradic
#28982B #285D98 #982895 #986328
square
#28982B #285D98 #982895 #986328
split-complementary
#28982B #632898 #98285D
monochromatic
#0F3710 #1B681D #28982B #35C839 #64D667

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28982B#FFFFFF#000000##000000
##28982B1.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)
#9B891A
Deuteranopia (green-blind)
#8E8136
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #28982b;
/* rgb */ color: rgb(40, 152, 43);
/* oklch */ color: oklch(59.6% 0.177 143.3);
Tailwind
colors: {
  custom: {
    50: '#74b76b',
    500: '#28982b',
    950: '#000000',
  },
}
SCSS
$custom: #28982b;
$custom-light: #74b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#28982b",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 121.607,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59624,
    "c": 0.17652,
    "h": 143.3
  },
  "luminance": 0.23082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28982B

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

Preview Lab → · Contrast checker → · Palette generator →

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