#2FA255#2FA255

#2FA255 is a light, vivid green. Relative luminance 0.271; OKLCH L 63.1% C 0.152 H 150.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2FA255
RGBrgb(47, 162, 85)
HSLhsl(140, 55%, 41%)
HSVhsv(140, 71%, 64%)
CMYKcmyk(71%, 0%, 47.5%, 36.5%)
CIE-LABlab(59.07, -49.04, 30.96)
CIE-LCHlch(59.07, 57.99, 147.74°)
OKLaboklab(63.06% -0.132 0.0757)
OKLCHoklch(63.06% 0.152 150.2)
XYZxyz(15.7310, 27.0991, 12.9942)
Luminance0.2710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA255 #A22F7C
analogous
#42A22F #2FA255 #2FA28E
triadic
#2FA255 #552FA2 #A2552F
tetradic
#2FA255 #2F42A2 #A22F7C #A28E2F
square
#2FA255 #2F42A2 #A22F7C #A28E2F
split-complementary
#2FA255 #8E2FA2 #A22F42
monochromatic
#134323 #21733C #2FA255 #45C971 #75D795

Accessibility & contrast

On white

3.27
#2FA255 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#2FA255 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA255
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA255#FFFFFF#000000##000000
##2FA2551.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3944F
Deuteranopia (green-blind)
#958A5A
Tritanopia (blue-blind)
#009F90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2fa255;
/* rgb */ color: rgb(47, 162, 85);
/* oklch */ color: oklch(63.1% 0.152 150.2);
Tailwind
colors: {
  custom: {
    50: '#77be86',
    500: '#2fa255',
    950: '#000000',
  },
}
SCSS
$custom: #2fa255;
$custom-light: #77be86;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa255",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 139.826,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63055,
    "c": 0.1522,
    "h": 150.2
  },
  "luminance": 0.27101
}

Semantic roles & 50–950 ramp

primary
#2FA255
secondary
#BF6EA4
accent
#49ADDE
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #2FA255

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

Preview Lab → · Contrast checker → · Palette generator →

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