#2A9D2D#2A9D2D

#2A9D2D is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.180 H 143.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2A9D2D
RGBrgb(42, 157, 45)
HSLhsl(122, 58%, 39%)
HSVhsv(122, 73%, 62%)
CMYKcmyk(73.2%, 0%, 71.3%, 38.4%)
CIE-LABlab(56.87, -53.34, 47.25)
CIE-LCHlch(56.87, 71.26, 138.46°)
OKLaboklab(61.07% -0.1446 0.1079)
OKLCHoklch(61.07% 0.18 143.3)
XYZxyz(13.4846, 24.7941, 6.5572)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9D2D #9D2A9A
analogous
#619D2A #2A9D2D #2A9D67
triadic
#2A9D2D #2D2A9D #9D2D2A
tetradic
#2A9D2D #2A619D #9D2A9A #9D672A
square
#2A9D2D #2A619D #9D2A9A #9D672A
split-complementary
#2A9D2D #672A9D #9D2A61
monochromatic
#103C11 #1D6D1F #2A9D2D #3ACA3E #6AD76D

Accessibility & contrast

On white

3.52
#2A9D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#2A9D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9D2D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9D2D#FFFFFF#000000##000000
##2A9D2D1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1C
Deuteranopia (green-blind)
#938538
Tritanopia (blue-blind)
#009887
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2a9d2d;
/* rgb */ color: rgb(42, 157, 45);
/* oklch */ color: oklch(61.1% 0.180 143.3);
Tailwind
colors: {
  custom: {
    50: '#76bb6c',
    500: '#2a9d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a9d2d;
$custom-light: #76bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9d2d",
  "rgb": {
    "r": 42,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 121.565,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61067,
    "c": 0.18046,
    "h": 143.3
  },
  "luminance": 0.24796
}

Semantic roles & 50–950 ramp

primary
#2A9D2D
secondary
#BE65BB
accent
#47DDE1
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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