#2FA01F#2FA01F

#2FA01F is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.9% C 0.190 H 141.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2FA01F
RGBrgb(47, 160, 31)
HSLhsl(113, 68%, 37%)
HSVhsv(113, 81%, 63%)
CMYKcmyk(70.6%, 0%, 80.6%, 37.3%)
CIE-LABlab(57.89, -54.49, 53.25)
CIE-LCHlch(57.89, 76.19, 135.66°)
OKLaboklab(61.91% -0.1487 0.1185)
OKLCHoklch(61.91% 0.19 141.5)
XYZxyz(13.9897, 25.8434, 5.5471)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA01F #901FA0
analogous
#70A01F #2FA01F #1FA04F
triadic
#2FA01F #1F2FA0 #A01F2F
tetradic
#2FA01F #1F70A0 #901FA0 #A04F1F
square
#2FA01F #1F70A0 #901FA0 #A04F1F
split-complementary
#2FA01F #4F1FA0 #A01F70
monochromatic
#11390B #206D15 #2FA01F #3ED329 #6BDF5A

Accessibility & contrast

On white

3.40
#2FA01F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#2FA01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA01F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA01F#FFFFFF#000000##000000
##2FA01F1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#129B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2fa01f;
/* rgb */ color: rgb(47, 160, 31);
/* oklch */ color: oklch(61.9% 0.190 141.5);
Tailwind
colors: {
  custom: {
    50: '#79bd66',
    500: '#2fa01f',
    950: '#000000',
  },
}
SCSS
$custom: #2fa01f;
$custom-light: #79bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa01f",
  "rgb": {
    "r": 47,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 112.558,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61911,
    "c": 0.19015,
    "h": 141.5
  },
  "luminance": 0.25845
}

Semantic roles & 50–950 ramp

primary
#2FA01F
secondary
#B658C3
accent
#3DEAD5
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2FA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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