#2FB948#2FB948

#2FB948 is a light, vivid green. Relative luminance 0.358; OKLCH L 69.0% C 0.193 H 145.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2FB948
RGBrgb(47, 185, 72)
HSLhsl(131, 59%, 45%)
HSVhsv(131, 75%, 73%)
CMYKcmyk(74.6%, 0%, 61.1%, 27.5%)
CIE-LABlab(66.34, -59.08, 46.09)
CIE-LCHlch(66.34, 74.93, 142.04°)
OKLaboklab(69.03% -0.1593 0.1083)
OKLCHoklch(69.03% 0.193 145.8)
XYZxyz(19.6895, 35.7679, 11.9958)
Luminance0.3577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB948 #B92FA0
analogous
#5BB92F #2FB948 #2FB98D
triadic
#2FB948 #482FB9 #B9482F
tetradic
#2FB948 #2F5BB9 #B92FA0 #B98D2F
square
#2FB948 #2F5BB9 #B92FA0 #B98D2F
split-complementary
#2FB948 #8D2FB9 #B92F5B
monochromatic
#165722 #238835 #2FB948 #52D369 #83DF94

Accessibility & contrast

On white

2.58
#2FB948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#2FB948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB948
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB948#FFFFFF#000000##000000
##2FB9481.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83C
Deuteranopia (green-blind)
#AC9D51
Tritanopia (blue-blind)
#00B4A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2fb948;
/* rgb */ color: rgb(47, 185, 72);
/* oklch */ color: oklch(69.0% 0.193 145.8);
Tailwind
colors: {
  custom: {
    50: '#7dcf7f',
    500: '#2fb948',
    950: '#000000',
  },
}
SCSS
$custom: #2fb948;
$custom-light: #7dcf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb948",
  "rgb": {
    "r": 47,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 130.87,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69025,
    "c": 0.19262,
    "h": 145.8
  },
  "luminance": 0.3577
}

Semantic roles & 50–950 ramp

primary
#2FB948
secondary
#C97BBB
accent
#45C6E3
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2FB948

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

Preview Lab → · Contrast checker → · Palette generator →

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