#2A982B#2A982B

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

Color values

HEX#2A982B
RGBrgb(42, 152, 43)
HSLhsl(121, 57%, 38%)
HSVhsv(121, 72%, 60%)
CMYKcmyk(72.4%, 0%, 71.7%, 40.4%)
CIE-LABlab(55.20, -51.82, 46.30)
CIE-LCHlch(55.20, 69.49, 138.22°)
OKLaboklab(59.67% -0.1406 0.1057)
OKLCHoklch(59.67% 0.176 143.1)
XYZxyz(12.6184, 23.1217, 6.0830)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A982B #982A97
analogous
#60982A #2A982B #2A9862
triadic
#2A982B #2B2A98 #982B2A
tetradic
#2A982B #2A6098 #982A97 #98622A
square
#2A982B #2A6098 #982A97 #98622A
split-complementary
#2A982B #622A98 #982A60
monochromatic
#103810 #1D681D #2A982B #37C839 #67D568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A982B#FFFFFF#000000##000000
##2A982B1.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)
#9B891A
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#029482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a982b;
/* rgb */ color: rgb(42, 152, 43);
/* oklch */ color: oklch(59.7% 0.176 143.1);
Tailwind
colors: {
  custom: {
    50: '#75b76b',
    500: '#2a982b',
    950: '#000000',
  },
}
SCSS
$custom: #2a982b;
$custom-light: #75b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a982b",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 120.545,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59671,
    "c": 0.17589,
    "h": 143.1
  },
  "luminance": 0.23123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A982B

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

Preview Lab → · Contrast checker → · Palette generator →

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