#2FB255#2FB255

#2FB255 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.3% C 0.173 H 148.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2FB255
RGBrgb(47, 178, 85)
HSLhsl(137, 58%, 44%)
HSVhsv(137, 74%, 70%)
CMYKcmyk(73.6%, 0%, 52.2%, 30.2%)
CIE-LABlab(64.24, -54.90, 37.42)
CIE-LCHlch(64.24, 66.44, 145.72°)
OKLaboklab(67.33% -0.1477 0.0903)
OKLCHoklch(67.33% 0.173 148.6)
XYZxyz(18.7309, 33.0989, 13.9941)
Luminance0.3310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB255 #B22F8C
analogous
#4AB22F #2FB255 #2FB297
triadic
#2FB255 #552FB2 #B2552F
tetradic
#2FB255 #2F4AB2 #B22F8C #B2972F
square
#2FB255 #2F4AB2 #B22F8C #B2972F
split-complementary
#2FB255 #972FB2 #B22F4A
monochromatic
#155127 #22823E #2FB255 #4ED074 #7EDD9A

Accessibility & contrast

On white

2.76
#2FB255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#2FB255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB255
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB255#FFFFFF#000000##000000
##2FB2551.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24D
Deuteranopia (green-blind)
#A4975C
Tritanopia (blue-blind)
#00AE9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2fb255;
/* rgb */ color: rgb(47, 178, 85);
/* oklch */ color: oklch(67.3% 0.173 148.6);
Tailwind
colors: {
  custom: {
    50: '#7bca87',
    500: '#2fb255',
    950: '#000000',
  },
}
SCSS
$custom: #2fb255;
$custom-light: #7bca87;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb255",
  "rgb": {
    "r": 47,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 137.405,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67333,
    "c": 0.17309,
    "h": 148.6
  },
  "luminance": 0.33101
}

Semantic roles & 50–950 ramp

primary
#2FB255
secondary
#C677AF
accent
#46B4E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #2FB255

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

Preview Lab → · Contrast checker → · Palette generator →

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