#2A982D#2A982D

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

Color values

HEX#2A982D
RGBrgb(42, 152, 45)
HSLhsl(122, 57%, 38%)
HSVhsv(122, 72%, 60%)
CMYKcmyk(72.4%, 0%, 70.4%, 40.4%)
CIE-LABlab(55.21, -51.63, 45.50)
CIE-LCHlch(55.21, 68.82, 138.61°)
OKLaboklab(59.69% -0.14 0.1042)
OKLCHoklch(59.69% 0.175 143.3)
XYZxyz(12.6560, 23.1368, 6.2810)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A982D #982A95
analogous
#5E982A #2A982D #2A9864
triadic
#2A982D #2D2A98 #982D2A
tetradic
#2A982D #2A5E98 #982A95 #98642A
square
#2A982D #2A5E98 #982A95 #98642A
split-complementary
#2A982D #642A98 #982A5E
monochromatic
#103811 #1D681F #2A982D #37C83B #67D56A

Accessibility & contrast

On white

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

On black

5.63
#2A982D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A982D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A982D#FFFFFF#000000##000000
##2A982D1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891D
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#019483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a982d;
/* rgb */ color: rgb(42, 152, 45);
/* oklch */ color: oklch(59.7% 0.175 143.3);
Tailwind
colors: {
  custom: {
    50: '#75b76c',
    500: '#2a982d',
    950: '#000000',
  },
}
SCSS
$custom: #2a982d;
$custom-light: #75b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a982d",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 121.636,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59689,
    "c": 0.17456,
    "h": 143.3
  },
  "luminance": 0.23138
}

Semantic roles & 50–950 ramp

primary
#2A982D
secondary
#BB62B9
accent
#48DCE0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2A982D

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

Preview Lab → · Contrast checker → · Palette generator →

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