#2A9A1F#2A9A1F

#2A9A1F is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.1% C 0.185 H 141.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2A9A1F
RGBrgb(42, 154, 31)
HSLhsl(115, 66%, 36%)
HSVhsv(115, 80%, 60%)
CMYKcmyk(72.7%, 0%, 79.9%, 39.6%)
CIE-LABlab(55.79, -53.43, 51.22)
CIE-LCHlch(55.79, 74.01, 136.21°)
OKLaboklab(60.14% -0.1456 0.1143)
OKLCHoklch(60.14% 0.185 141.9)
XYZxyz(12.7570, 23.7010, 5.1985)
Luminance0.2370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9A1F #8F1F9A
analogous
#689A1F #2A9A1F #1F9A52
triadic
#2A9A1F #1F2A9A #9A1F2A
tetradic
#2A9A1F #1F689A #8F1F9A #9A521F
square
#2A9A1F #1F689A #8F1F9A #9A521F
split-complementary
#2A9A1F #521F9A #9A1F68
monochromatic
#0E340A #1C6715 #2A9A1F #38CD29 #62DD56

Accessibility & contrast

On white

3.66
#2A9A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#2A9A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9A1F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9A1F#FFFFFF#000000##000000
##2A9A1F1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#069583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9a1f;
/* rgb */ color: rgb(42, 154, 31);
/* oklch */ color: oklch(60.1% 0.185 141.9);
Tailwind
colors: {
  custom: {
    50: '#76b965',
    500: '#2a9a1f',
    950: '#000000',
  },
}
SCSS
$custom: #2a9a1f;
$custom-light: #76b965;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9a1f",
  "rgb": {
    "r": 42,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 114.634,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.18508,
    "h": 141.9
  },
  "luminance": 0.23702
}

Semantic roles & 50–950 ramp

primary
#2A9A1F
secondary
#B754C1
accent
#3EE9DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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