#2FB451#2FB451

#2FB451 is a light, vivid green. Relative luminance 0.338; OKLCH L 67.8% C 0.179 H 147.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2FB451
RGBrgb(47, 180, 81)
HSLhsl(135, 59%, 45%)
HSVhsv(135, 74%, 71%)
CMYKcmyk(73.9%, 0%, 55%, 29.4%)
CIE-LABlab(64.83, -56.19, 40.10)
CIE-LCHlch(64.83, 69.03, 144.49°)
OKLaboklab(67.81% -0.1512 0.096)
OKLCHoklch(67.81% 0.179 147.6)
XYZxyz(18.9773, 33.8388, 13.3144)
Luminance0.3384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB451 #B42F92
analogous
#50B42F #2FB451 #2FB493
triadic
#2FB451 #512FB4 #B4512F
tetradic
#2FB451 #2F50B4 #B42F92 #B4932F
square
#2FB451 #2F50B4 #B42F92 #B4932F
split-complementary
#2FB451 #932FB4 #B42F50
monochromatic
#165325 #22833B #2FB451 #4FD170 #80DE98

Accessibility & contrast

On white

2.70
#2FB451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#2FB451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB451
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB451#FFFFFF#000000##000000
##2FB4511.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A448
Deuteranopia (green-blind)
#A79959
Tritanopia (blue-blind)
#00B09E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #2fb451;
/* rgb */ color: rgb(47, 180, 81);
/* oklch */ color: oklch(67.8% 0.179 147.6);
Tailwind
colors: {
  custom: {
    50: '#7bcc84',
    500: '#2fb451',
    950: '#000000',
  },
}
SCSS
$custom: #2fb451;
$custom-light: #7bcc84;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb451",
  "rgb": {
    "r": 47,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 135.338,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67808,
    "c": 0.1791,
    "h": 147.6
  },
  "luminance": 0.33841
}

Semantic roles & 50–950 ramp

primary
#2FB451
secondary
#C778B3
accent
#46BAE2
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #2FB451

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

Preview Lab → · Contrast checker → · Palette generator →

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