#2FAF27#2FAF27

#2FAF27 is a light, highly saturated green. Relative luminance 0.314; OKLCH L 66.0% C 0.203 H 142.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2FAF27
RGBrgb(47, 175, 39)
HSLhsl(116, 64%, 42%)
HSVhsv(116, 78%, 69%)
CMYKcmyk(73.1%, 0%, 77.7%, 31.4%)
CIE-LABlab(62.85, -58.90, 55.48)
CIE-LCHlch(62.85, 80.91, 136.71°)
OKLaboklab(66.05% -0.1603 0.1243)
OKLCHoklch(66.05% 0.203 142.2)
XYZxyz(16.8675, 31.4089, 7.0926)
Luminance0.3141 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF27 #A727AF
analogous
#73AF27 #2FAF27 #27AF63
triadic
#2FAF27 #272FAF #AF272F
tetradic
#2FAF27 #2773AF #A727AF #AF6327
square
#2FAF27 #2773AF #A727AF #AF6327
split-complementary
#2FAF27 #6327AF #AF2773
monochromatic
#144B11 #227D1C #2FAF27 #48D43F #78DF71

Accessibility & contrast

On white

2.88
#2FAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#2FAF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF27
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF27#FFFFFF#000000##000000
##2FAF271.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E02
Deuteranopia (green-blind)
#A59437
Tritanopia (blue-blind)
#00AA95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2faf27;
/* rgb */ color: rgb(47, 175, 39);
/* oklch */ color: oklch(66.0% 0.203 142.2);
Tailwind
colors: {
  custom: {
    50: '#7cc86c',
    500: '#2faf27',
    950: '#000000',
  },
}
SCSS
$custom: #2faf27;
$custom-light: #7cc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf27",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 116.471,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66046,
    "c": 0.20278,
    "h": 142.2
  },
  "luminance": 0.31411
}

Semantic roles & 50–950 ramp

primary
#2FAF27
secondary
#C16BC6
accent
#41E7DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2FAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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