#28982E#28982E

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

Color values

HEX#28982E
RGBrgb(40, 152, 46)
HSLhsl(123, 58%, 38%)
HSVhsv(123, 74%, 60%)
CMYKcmyk(73.7%, 0%, 69.7%, 40.4%)
CIE-LABlab(55.18, -51.89, 45.04)
CIE-LCHlch(55.18, 68.71, 139.04°)
OKLaboklab(59.65% -0.1406 0.1034)
OKLCHoklch(59.65% 0.175 143.7)
XYZxyz(12.5956, 23.1034, 6.3798)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28982E #982892
analogous
#5A9828 #28982E #289866
triadic
#28982E #2E2898 #982E28
tetradic
#28982E #285A98 #982892 #986628
square
#28982E #285A98 #982892 #986628
split-complementary
#28982E #662898 #98285A
monochromatic
#0F3711 #1B681F #28982E #35C83D #64D66A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28982E#FFFFFF#000000##000000
##28982E1.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)
#9B891F
Deuteranopia (green-blind)
#8E8138
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #28982e;
/* rgb */ color: rgb(40, 152, 46);
/* oklch */ color: oklch(59.7% 0.174 143.7);
Tailwind
colors: {
  custom: {
    50: '#74b76c',
    500: '#28982e',
    950: '#000000',
  },
}
SCSS
$custom: #28982e;
$custom-light: #74b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#28982e",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 123.214,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.1745,
    "h": 143.7
  },
  "luminance": 0.23105
}

Semantic roles & 50–950 ramp

primary
#28982E
secondary
#BC60B7
accent
#46D9E2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28982E

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

Preview Lab → · Contrast checker → · Palette generator →

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