#2A9D2F#2A9D2F

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

Color values

HEX#2A9D2F
RGBrgb(42, 157, 47)
HSLhsl(123, 58%, 39%)
HSVhsv(123, 73%, 62%)
CMYKcmyk(73.2%, 0%, 70.1%, 38.4%)
CIE-LABlab(56.89, -53.15, 46.46)
CIE-LCHlch(56.89, 70.59, 138.84°)
OKLaboklab(61.09% -0.144 0.1065)
OKLCHoklch(61.09% 0.179 143.5)
XYZxyz(13.5241, 24.8099, 6.7648)
Luminance0.2481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9D2F #9D2A98
analogous
#5F9D2A #2A9D2F #2A9D69
triadic
#2A9D2F #2F2A9D #9D2F2A
tetradic
#2A9D2F #2A5F9D #9D2A98 #9D692A
square
#2A9D2F #2A5F9D #9D2A98 #9D692A
split-complementary
#2A9D2F #692A9D #9D2A5F
monochromatic
#103C12 #1D6D21 #2A9D2F #3ACA40 #6AD76F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9D2F#FFFFFF#000000##000000
##2A9D2F1.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)
#A08E1F
Deuteranopia (green-blind)
#93853A
Tritanopia (blue-blind)
#009887
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2a9d2f;
/* rgb */ color: rgb(42, 157, 47);
/* oklch */ color: oklch(61.1% 0.179 143.5);
Tailwind
colors: {
  custom: {
    50: '#76bb6d',
    500: '#2a9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a9d2f;
$custom-light: #76bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9d2f",
  "rgb": {
    "r": 42,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 122.609,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.17913,
    "h": 143.5
  },
  "luminance": 0.24811
}

Semantic roles & 50–950 ramp

primary
#2A9D2F
secondary
#BE65BA
accent
#47DAE1
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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