#2F9A40#2F9A40

#2F9A40 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.6% C 0.161 H 145.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2F9A40
RGBrgb(47, 154, 64)
HSLhsl(130, 53%, 39%)
HSVhsv(130, 69%, 60%)
CMYKcmyk(69.5%, 0%, 58.4%, 39.6%)
CIE-LABlab(56.17, -49.23, 38.03)
CIE-LCHlch(56.17, 62.21, 142.31°)
OKLaboklab(60.57% -0.1329 0.0902)
OKLCHoklch(60.57% 0.161 145.8)
XYZxyz(13.6524, 24.0842, 8.7787)
Luminance0.2409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9A40 #9A2F89
analogous
#539A2F #2F9A40 #2F9A76
triadic
#2F9A40 #402F9A #9A402F
tetradic
#2F9A40 #2F539A #9A2F89 #9A762F
square
#2F9A40 #2F539A #9A2F89 #9A762F
split-complementary
#2F9A40 #762F9A #9A2F53
monochromatic
#123C19 #216B2D #2F9A40 #41C556 #70D380

Accessibility & contrast

On white

3.61
#2F9A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#2F9A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9A40
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9A40#FFFFFF#000000##000000
##2F9A401.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C37
Deuteranopia (green-blind)
#908347
Tritanopia (blue-blind)
#069686
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f9a40;
/* rgb */ color: rgb(47, 154, 64);
/* oklch */ color: oklch(60.6% 0.161 145.8);
Tailwind
colors: {
  custom: {
    50: '#76b977',
    500: '#2f9a40',
    950: '#000000',
  },
}
SCSS
$custom: #2f9a40;
$custom-light: #76b977;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9a40",
  "rgb": {
    "r": 47,
    "g": 154,
    "b": 64
  },
  "hsl": {
    "h": 129.533,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60574,
    "c": 0.16066,
    "h": 145.8
  },
  "luminance": 0.24086
}

Semantic roles & 50–950 ramp

primary
#2F9A40
secondary
#BB6AAE
accent
#4BC6DD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #2F9A40

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

Preview Lab → · Contrast checker → · Palette generator →

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