#2A9F1C#2A9F1C

#2A9F1C is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.5% C 0.192 H 141.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2A9F1C
RGBrgb(42, 159, 28)
HSLhsl(114, 70%, 37%)
HSVhsv(114, 82%, 62%)
CMYKcmyk(73.6%, 0%, 82.4%, 37.6%)
CIE-LABlab(57.43, -55.26, 53.68)
CIE-LCHlch(57.43, 77.03, 135.83°)
OKLaboklab(61.5% -0.1506 0.119)
OKLCHoklch(61.5% 0.192 141.7)
XYZxyz(13.5618, 25.3708, 5.2807)
Luminance0.2537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9F1C #911C9F
analogous
#6C9F1C #2A9F1C #1C9F50
triadic
#2A9F1C #1C2A9F #9F1C2A
tetradic
#2A9F1C #1C6C9F #911C9F #9F501C
square
#2A9F1C #1C6C9F #911C9F #9F501C
split-complementary
#2A9F1C #501C9F #9F1C6C
monochromatic
#0F370A #1C6B13 #2A9F1C #38D325 #63E154

Accessibility & contrast

On white

3.46
#2A9F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#2A9F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9F1C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9F1C#FFFFFF#000000##000000
##2A9F1C1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#96862D
Tritanopia (blue-blind)
#019A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9f1c;
/* rgb */ color: rgb(42, 159, 28);
/* oklch */ color: oklch(61.5% 0.192 141.7);
Tailwind
colors: {
  custom: {
    50: '#77bc65',
    500: '#2a9f1c',
    950: '#000000',
  },
}
SCSS
$custom: #2a9f1c;
$custom-light: #77bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9f1c",
  "rgb": {
    "r": 42,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 113.588,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.615,
    "c": 0.19198,
    "h": 141.7
  },
  "luminance": 0.25372
}

Semantic roles & 50–950 ramp

primary
#2A9F1C
secondary
#B853C4
accent
#3BEDDA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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