#2A9C1F#2A9C1F

#2A9C1F is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.7% C 0.187 H 141.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2A9C1F
RGBrgb(42, 156, 31)
HSLhsl(115, 67%, 37%)
HSVhsv(115, 80%, 61%)
CMYKcmyk(73.1%, 0%, 80.1%, 38.8%)
CIE-LABlab(56.45, -54.09, 51.85)
CIE-LCHlch(56.45, 74.93, 136.21°)
OKLaboklab(60.69% -0.1474 0.1156)
OKLCHoklch(60.69% 0.187 141.9)
XYZxyz(13.0899, 24.3666, 5.3094)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9C1F #911F9C
analogous
#699C1F #2A9C1F #1F9C53
triadic
#2A9C1F #1F2A9C #9C1F2A
tetradic
#2A9C1F #1F699C #911F9C #9C531F
square
#2A9C1F #1F699C #911F9C #9C531F
split-complementary
#2A9C1F #531F9C #9C1F69
monochromatic
#0F360B #1C6915 #2A9C1F #38CF29 #63DE58

Accessibility & contrast

On white

3.58
#2A9C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#2A9C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9C1F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9C1F#FFFFFF#000000##000000
##2A9C1F1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#049785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9c1f;
/* rgb */ color: rgb(42, 156, 31);
/* oklch */ color: oklch(60.7% 0.187 141.9);
Tailwind
colors: {
  custom: {
    50: '#76ba65',
    500: '#2a9c1f',
    950: '#000000',
  },
}
SCSS
$custom: #2a9c1f;
$custom-light: #76ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9c1f",
  "rgb": {
    "r": 42,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 114.72,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.18731,
    "h": 141.9
  },
  "luminance": 0.24368
}

Semantic roles & 50–950 ramp

primary
#2A9C1F
secondary
#B855C1
accent
#3EEADB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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