#2A9F2D#2A9F2D

#2A9F2D is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.6% C 0.183 H 143.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2A9F2D
RGBrgb(42, 159, 45)
HSLhsl(122, 58%, 39%)
HSVhsv(122, 74%, 62%)
CMYKcmyk(73.6%, 0%, 71.7%, 37.6%)
CIE-LABlab(57.54, -54.01, 47.94)
CIE-LCHlch(57.54, 72.22, 138.41°)
OKLaboklab(61.62% -0.1465 0.1094)
OKLCHoklch(61.62% 0.183 143.3)
XYZxyz(13.8258, 25.4764, 6.6709)
Luminance0.2548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9F2D #9F2A9C
analogous
#629F2A #2A9F2D #2A9F67
triadic
#2A9F2D #2D2A9F #9F2D2A
tetradic
#2A9F2D #2A629F #9F2A9C #9F672A
square
#2A9F2D #2A629F #9F2A9C #9F672A
split-complementary
#2A9F2D #672A9F #9F2A62
monochromatic
#103E12 #1D6F1F #2A9F2D #3BCB3F #6BD86E

Accessibility & contrast

On white

3.45
#2A9F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#2A9F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9F2D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9F2D#FFFFFF#000000##000000
##2A9F2D1.003.456.106.10
#FFFFFF3.451.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901B
Deuteranopia (green-blind)
#958738
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9f2d;
/* rgb */ color: rgb(42, 159, 45);
/* oklch */ color: oklch(61.6% 0.183 143.3);
Tailwind
colors: {
  custom: {
    50: '#76bc6d',
    500: '#2a9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a9f2d;
$custom-light: #76bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9f2d",
  "rgb": {
    "r": 42,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 121.538,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61617,
    "c": 0.18279,
    "h": 143.3
  },
  "luminance": 0.25478
}

Semantic roles & 50–950 ramp

primary
#2A9F2D
secondary
#BF66BC
accent
#46DDE1
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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