#2F9C40#2F9C40

#2F9C40 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.163 H 145.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2F9C40
RGBrgb(47, 156, 64)
HSLhsl(129, 54%, 40%)
HSVhsv(129, 70%, 61%)
CMYKcmyk(69.9%, 0%, 59%, 38.8%)
CIE-LABlab(56.83, -49.96, 38.81)
CIE-LCHlch(56.83, 63.26, 142.16°)
OKLaboklab(61.12% -0.1349 0.0919)
OKLCHoklch(61.12% 0.163 145.7)
XYZxyz(13.9852, 24.7499, 8.8897)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9C40 #9C2F8B
analogous
#549C2F #2F9C40 #2F9C77
triadic
#2F9C40 #402F9C #9C402F
tetradic
#2F9C40 #2F549C #9C2F8B #9C772F
square
#2F9C40 #2F549C #9C2F8B #9C772F
split-complementary
#2F9C40 #772F9C #9C2F54
monochromatic
#133E19 #216D2D #2F9C40 #42C657 #71D481

Accessibility & contrast

On white

3.53
#2F9C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#2F9C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9C40
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9C40#FFFFFF#000000##000000
##2F9C401.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E37
Deuteranopia (green-blind)
#918547
Tritanopia (blue-blind)
#039888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f9c40;
/* rgb */ color: rgb(47, 156, 64);
/* oklch */ color: oklch(61.1% 0.163 145.7);
Tailwind
colors: {
  custom: {
    50: '#77ba78',
    500: '#2f9c40',
    950: '#000000',
  },
}
SCSS
$custom: #2f9c40;
$custom-light: #77ba78;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9c40",
  "rgb": {
    "r": 47,
    "g": 156,
    "b": 64
  },
  "hsl": {
    "h": 129.358,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61119,
    "c": 0.16323,
    "h": 145.7
  },
  "luminance": 0.24751
}

Semantic roles & 50–950 ramp

primary
#2F9C40
secondary
#BC6BAF
accent
#4BC6DD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2F9C40

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

Preview Lab → · Contrast checker → · Palette generator →

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