#2A952D#2A952D

#2A952D is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.171 H 143.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2A952D
RGBrgb(42, 149, 45)
HSLhsl(122, 56%, 37%)
HSVhsv(122, 72%, 58%)
CMYKcmyk(71.8%, 0%, 69.8%, 41.6%)
CIE-LABlab(54.21, -50.59, 44.44)
CIE-LCHlch(54.21, 67.34, 138.70°)
OKLaboklab(58.86% -0.1372 0.102)
OKLCHoklch(58.86% 0.171 143.4)
XYZxyz(12.1752, 22.1753, 6.1207)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A952D #952A92
analogous
#5D952A #2A952D #2A9562
triadic
#2A952D #2D2A95 #952D2A
tetradic
#2A952D #2A5D95 #952A92 #95622A
square
#2A952D #2A5D95 #952A92 #95622A
split-complementary
#2A952D #622A95 #952A5D
monochromatic
#0F3610 #1D651F #2A952D #37C53B #66D469

Accessibility & contrast

On white

3.86
#2A952D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2A952D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A952D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A952D#FFFFFF#000000##000000
##2A952D1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871E
Deuteranopia (green-blind)
#8C7E37
Tritanopia (blue-blind)
#049180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a952d;
/* rgb */ color: rgb(42, 149, 45);
/* oklch */ color: oklch(58.9% 0.171 143.4);
Tailwind
colors: {
  custom: {
    50: '#74b56c',
    500: '#2a952d',
    950: '#000000',
  },
}
SCSS
$custom: #2a952d;
$custom-light: #74b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a952d",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 121.682,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.17098,
    "h": 143.4
  },
  "luminance": 0.22177
}

Semantic roles & 50–950 ramp

primary
#2A952D
secondary
#BA61B7
accent
#48DBDF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A952D

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

Preview Lab → · Contrast checker → · Palette generator →

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