#2FAF3B#2FAF3B

#2FAF3B is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.190 H 144.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2FAF3B
RGBrgb(47, 175, 59)
HSLhsl(126, 58%, 44%)
HSVhsv(126, 73%, 69%)
CMYKcmyk(73.1%, 0%, 66.3%, 31.4%)
CIE-LABlab(62.99, -57.18, 48.05)
CIE-LCHlch(62.99, 74.69, 139.96°)
OKLaboklab(66.21% -0.1547 0.1112)
OKLCHoklch(66.21% 0.19 144.3)
XYZxyz(17.2905, 31.5781, 9.3208)
Luminance0.3158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF3B #AF2FA3
analogous
#63AF2F #2FAF3B #2FAF7B
triadic
#2FAF3B #3B2FAF #AF3B2F
tetradic
#2FAF3B #2F63AF #AF2FA3 #AF7B2F
square
#2FAF3B #2F63AF #AF2FA3 #AF7B2F
split-complementary
#2FAF3B #7B2FAF #AF2F63
monochromatic
#154F1A #227F2B #2FAF3B #4CCF58 #7CDC85

Accessibility & contrast

On white

2.87
#2FAF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#2FAF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF3B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF3B#FFFFFF#000000##000000
##2FAF3B1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F2C
Deuteranopia (green-blind)
#A49446
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2faf3b;
/* rgb */ color: rgb(47, 175, 59);
/* oklch */ color: oklch(66.2% 0.190 144.3);
Tailwind
colors: {
  custom: {
    50: '#7bc876',
    500: '#2faf3b',
    950: '#000000',
  },
}
SCSS
$custom: #2faf3b;
$custom-light: #7bc876;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf3b",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 125.625,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66208,
    "c": 0.19049,
    "h": 144.3
  },
  "luminance": 0.3158
}

Semantic roles & 50–950 ramp

primary
#2FAF3B
secondary
#C475BD
accent
#47D2E1
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2FAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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