#2A9F2C#2A9F2C

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

Color values

HEX#2A9F2C
RGBrgb(42, 159, 44)
HSLhsl(121, 58%, 39%)
HSVhsv(121, 74%, 62%)
CMYKcmyk(73.6%, 0%, 72.3%, 37.6%)
CIE-LABlab(57.53, -54.10, 48.33)
CIE-LCHlch(57.53, 72.54, 138.23°)
OKLaboklab(61.61% -0.1468 0.11)
OKLCHoklch(61.61% 0.183 143.1)
XYZxyz(13.8067, 25.4688, 6.5707)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9F2C #9F2A9D
analogous
#629F2A #2A9F2C #2A9F67
triadic
#2A9F2C #2C2A9F #9F2C2A
tetradic
#2A9F2C #2A629F #9F2A9D #9F672A
square
#2A9F2C #2A629F #9F2A9D #9F672A
split-complementary
#2A9F2C #672A9F #9F2A62
monochromatic
#103E11 #1D6F1F #2A9F2C #3BCB3D #6BD86D

Accessibility & contrast

On white

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

On black

6.09
#2A9F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9F2C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9F2C#FFFFFF#000000##000000
##2A9F2C1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a9f2c;
/* rgb */ color: rgb(42, 159, 44);
/* oklch */ color: oklch(61.6% 0.183 143.1);
Tailwind
colors: {
  custom: {
    50: '#76bc6c',
    500: '#2a9f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a9f2c;
$custom-light: #76bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9f2c",
  "rgb": {
    "r": 42,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 121.026,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.18343,
    "h": 143.1
  },
  "luminance": 0.2547
}

Semantic roles & 50–950 ramp

primary
#2A9F2C
secondary
#BF66BD
accent
#46DFE1
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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