#2A9F1F#2A9F1F

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

Color values

HEX#2A9F1F
RGBrgb(42, 159, 31)
HSLhsl(115, 67%, 37%)
HSVhsv(115, 81%, 62%)
CMYKcmyk(73.6%, 0%, 80.5%, 37.6%)
CIE-LABlab(57.45, -55.08, 52.80)
CIE-LCHlch(57.45, 76.30, 136.21°)
OKLaboklab(61.52% -0.15 0.1176)
OKLCHoklch(61.52% 0.191 141.9)
XYZxyz(13.5995, 25.3859, 5.4793)
Luminance0.2539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9F1F #941F9F
analogous
#6A9F1F #2A9F1F #1F9F54
triadic
#2A9F1F #1F2A9F #9F1F2A
tetradic
#2A9F1F #1F6A9F #941F9F #9F541F
square
#2A9F1F #1F6A9F #941F9F #9F541F
split-complementary
#2A9F1F #541F9F #9F1F6A
monochromatic
#0F390B #1C6C15 #2A9F1F #38D229 #65DF5A

Accessibility & contrast

On white

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

On black

6.08
#2A9F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9F1F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9F1F#FFFFFF#000000##000000
##2A9F1F1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a9f1f;
/* rgb */ color: rgb(42, 159, 31);
/* oklch */ color: oklch(61.5% 0.191 141.9);
Tailwind
colors: {
  custom: {
    50: '#77bc66',
    500: '#2a9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #2a9f1f;
$custom-light: #77bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9f1f",
  "rgb": {
    "r": 42,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 114.844,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61516,
    "c": 0.19061,
    "h": 141.9
  },
  "luminance": 0.25387
}

Semantic roles & 50–950 ramp

primary
#2A9F1F
secondary
#B957C3
accent
#3EEADB
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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