#2A982F#2A982F

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

Color values

HEX#2A982F
RGBrgb(42, 152, 47)
HSLhsl(123, 57%, 38%)
HSVhsv(123, 72%, 60%)
CMYKcmyk(72.4%, 0%, 69.1%, 40.4%)
CIE-LABlab(55.23, -51.43, 44.69)
CIE-LCHlch(55.23, 68.14, 139.01°)
OKLaboklab(59.71% -0.1394 0.1028)
OKLCHoklch(59.71% 0.173 143.6)
XYZxyz(12.6954, 23.1525, 6.4886)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A982F #982A93
analogous
#5C982A #2A982F #2A9866
triadic
#2A982F #2F2A98 #982F2A
tetradic
#2A982F #2A5C98 #982A93 #98662A
square
#2A982F #2A5C98 #982A93 #98662A
split-complementary
#2A982F #662A98 #982A5C
monochromatic
#103811 #1D6820 #2A982F #37C83E #67D56C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A982F#FFFFFF#000000##000000
##2A982F1.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)
#9B8A20
Deuteranopia (green-blind)
#8E8139
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a982f;
/* rgb */ color: rgb(42, 152, 47);
/* oklch */ color: oklch(59.7% 0.173 143.6);
Tailwind
colors: {
  custom: {
    50: '#75b76d',
    500: '#2a982f',
    950: '#000000',
  },
}
SCSS
$custom: #2a982f;
$custom-light: #75b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a982f",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 122.727,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59707,
    "c": 0.17318,
    "h": 143.6
  },
  "luminance": 0.23154
}

Semantic roles & 50–950 ramp

primary
#2A982F
secondary
#BB62B7
accent
#48D9E0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2A982F

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

Preview Lab → · Contrast checker → · Palette generator →

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