#2A982A#2A982A

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

Color values

HEX#2A982A
RGBrgb(42, 152, 42)
HSLhsl(120, 57%, 38%)
HSVhsv(120, 72%, 60%)
CMYKcmyk(72.4%, 0%, 72.4%, 40.4%)
CIE-LABlab(55.19, -51.91, 46.69)
CIE-LCHlch(55.19, 69.81, 138.03°)
OKLaboklab(59.66% -0.1409 0.1063)
OKLCHoklch(59.66% 0.177 143)
XYZxyz(12.6002, 23.1145, 5.9875)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A982A #982A98
analogous
#61982A #2A982A #2A9861
triadic
#2A982A #2A2A98 #982A2A
tetradic
#2A982A #2A6198 #982A98 #98612A
square
#2A982A #2A6198 #982A98 #98612A
split-complementary
#2A982A #612A98 #982A61
monochromatic
#103810 #1D681D #2A982A #37C837 #67D567

Accessibility & contrast

On white

3.73
#2A982A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2A982A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A982A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A982A#FFFFFF#000000##000000
##2A982A1.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)
#9B8918
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#039382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a982a;
/* rgb */ color: rgb(42, 152, 42);
/* oklch */ color: oklch(59.7% 0.177 143.0);
Tailwind
colors: {
  custom: {
    50: '#75b76a',
    500: '#2a982a',
    950: '#000000',
  },
}
SCSS
$custom: #2a982a;
$custom-light: #75b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a982a",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.17654,
    "h": 143
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#2A982A
secondary
#BB62BB
accent
#48E0E0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2A982A

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

Preview Lab → · Contrast checker → · Palette generator →

#2A982A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva