#2FB542#2FB542

#2FB542 is a light, vivid green. Relative luminance 0.340; OKLCH L 67.9% C 0.192 H 145.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2FB542
RGBrgb(47, 181, 66)
HSLhsl(129, 59%, 45%)
HSVhsv(129, 74%, 71%)
CMYKcmyk(74%, 0%, 63.5%, 29%)
CIE-LABlab(65.00, -58.43, 47.24)
CIE-LCHlch(65.00, 75.14, 141.04°)
OKLaboklab(67.89% -0.1578 0.1102)
OKLCHoklch(67.89% 0.192 145.1)
XYZxyz(18.6782, 34.0433, 10.7398)
Luminance0.3404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB542 #B52FA2
analogous
#5FB52F #2FB542 #2FB585
triadic
#2FB542 #422FB5 #B5422F
tetradic
#2FB542 #2F5FB5 #B52FA2 #B5852F
square
#2FB542 #2F5FB5 #B52FA2 #B5852F
split-complementary
#2FB542 #852FB5 #B52F5F
monochromatic
#16541F #228430 #2FB542 #50D162 #80DE8E

Accessibility & contrast

On white

2.69
#2FB542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#2FB542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB542
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB542#FFFFFF#000000##000000
##2FB5421.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#A99A4C
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #2fb542;
/* rgb */ color: rgb(47, 181, 66);
/* oklch */ color: oklch(67.9% 0.192 145.1);
Tailwind
colors: {
  custom: {
    50: '#7ccc7b',
    500: '#2fb542',
    950: '#000000',
  },
}
SCSS
$custom: #2fb542;
$custom-light: #7ccc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb542",
  "rgb": {
    "r": 47,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 128.507,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67891,
    "c": 0.19245,
    "h": 145.1
  },
  "luminance": 0.34045
}

Semantic roles & 50–950 ramp

primary
#2FB542
secondary
#C779BC
accent
#46CCE2
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2FB542

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

Preview Lab → · Contrast checker → · Palette generator →

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