#2FAF51#2FAF51

#2FAF51 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.5% C 0.173 H 148.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2FAF51
RGBrgb(47, 175, 81)
HSLhsl(136, 58%, 44%)
HSVhsv(136, 73%, 69%)
CMYKcmyk(73.1%, 0%, 53.7%, 31.4%)
CIE-LABlab(63.22, -54.42, 38.15)
CIE-LCHlch(63.22, 66.46, 144.97°)
OKLaboklab(66.47% -0.1465 0.0917)
OKLCHoklch(66.47% 0.173 148)
XYZxyz(17.9861, 31.8563, 12.9840)
Luminance0.3186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF51 #AF2F8D
analogous
#4DAF2F #2FAF51 #2FAF91
triadic
#2FAF51 #512FAF #AF512F
tetradic
#2FAF51 #2F4DAF #AF2F8D #AF912F
square
#2FAF51 #2F4DAF #AF2F8D #AF912F
split-complementary
#2FAF51 #912FAF #AF2F4D
monochromatic
#154F24 #227F3B #2FAF51 #4CCF6F #7CDC96

Accessibility & contrast

On white

2.85
#2FAF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#2FAF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF51
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF51#FFFFFF#000000##000000
##2FAF511.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F49
Deuteranopia (green-blind)
#A29558
Tritanopia (blue-blind)
#00AB9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2faf51;
/* rgb */ color: rgb(47, 175, 81);
/* oklch */ color: oklch(66.5% 0.173 148.0);
Tailwind
colors: {
  custom: {
    50: '#7ac884',
    500: '#2faf51',
    950: '#000000',
  },
}
SCSS
$custom: #2faf51;
$custom-light: #7ac884;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf51",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 135.938,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66475,
    "c": 0.1728,
    "h": 148
  },
  "luminance": 0.31858
}

Semantic roles & 50–950 ramp

primary
#2FAF51
secondary
#C475AF
accent
#47B8E1
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #2FAF51

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

Preview Lab → · Contrast checker → · Palette generator →

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