#2A9A2D#2A9A2D

#2A9A2D is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.2% C 0.177 H 143.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2A9A2D
RGBrgb(42, 154, 45)
HSLhsl(122, 57%, 38%)
HSVhsv(122, 73%, 60%)
CMYKcmyk(72.7%, 0%, 70.8%, 39.6%)
CIE-LABlab(55.88, -52.32, 46.21)
CIE-LCHlch(55.88, 69.80, 138.55°)
OKLaboklab(60.24% -0.1419 0.1057)
OKLCHoklch(60.24% 0.177 143.3)
XYZxyz(12.9833, 23.7915, 6.3901)
Luminance0.2379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9A2D #9A2A97
analogous
#5F9A2A #2A9A2D #2A9A65
triadic
#2A9A2D #2D2A9A #9A2D2A
tetradic
#2A9A2D #2A5F9A #9A2A97 #9A652A
square
#2A9A2D #2A5F9A #9A2A97 #9A652A
split-complementary
#2A9A2D #652A9A #9A2A5F
monochromatic
#103A11 #1D6A1F #2A9A2D #38C93C #68D66B

Accessibility & contrast

On white

3.65
#2A9A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#2A9A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9A2D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9A2D#FFFFFF#000000##000000
##2A9A2D1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1D
Deuteranopia (green-blind)
#908238
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9a2d;
/* rgb */ color: rgb(42, 154, 45);
/* oklch */ color: oklch(60.2% 0.177 143.3);
Tailwind
colors: {
  custom: {
    50: '#75b96c',
    500: '#2a9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a9a2d;
$custom-light: #75b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9a2d",
  "rgb": {
    "r": 42,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 121.607,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60241,
    "c": 0.17693,
    "h": 143.3
  },
  "luminance": 0.23793
}

Semantic roles & 50–950 ramp

primary
#2A9A2D
secondary
#BC63BA
accent
#47DCE0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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