#1FAC31#1FAC31

#1FAC31 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.0% C 0.198 H 144.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#1FAC31
RGBrgb(31, 172, 49)
HSLhsl(128, 69%, 40%)
HSVhsv(128, 82%, 67%)
CMYKcmyk(82%, 0%, 71.5%, 32.5%)
CIE-LABlab(61.67, -59.44, 50.63)
CIE-LCHlch(61.67, 78.08, 139.58°)
OKLaboklab(65.01% -0.1606 0.1155)
OKLCHoklch(65.01% 0.198 144.3)
XYZxyz(15.8709, 30.0162, 7.8624)
Luminance0.3002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FAC31 #AC1F9A
analogous
#53AC1F #1FAC31 #1FAC78
triadic
#1FAC31 #311FAC #AC311F
tetradic
#1FAC31 #1F53AC #AC1F9A #AC781F
square
#1FAC31 #1F53AC #AC1F9A #AC781F
split-complementary
#1FAC31 #781FAC #AC1F53
monochromatic
#0C4413 #167822 #1FAC31 #2FD945 #63E373

Accessibility & contrast

On white

3.00
#1FAC31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#1FAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1FAC31
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FAC31#FFFFFF#000000##000000
##1FAC311.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#A0913D
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #1fac31;
/* rgb */ color: rgb(31, 172, 49);
/* oklch */ color: oklch(65.0% 0.198 144.3);
Tailwind
colors: {
  custom: {
    50: '#76c670',
    500: '#1fac31',
    950: '#000000',
  },
}
SCSS
$custom: #1fac31;
$custom-light: #76c670;
$custom-dark: #000000;
JSON
{
  "hex": "#1fac31",
  "rgb": {
    "r": 31,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 127.66,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65006,
    "c": 0.19782,
    "h": 144.3
  },
  "luminance": 0.30018
}

Semantic roles & 50–950 ramp

primary
#1FAC31
secondary
#C85FBA
accent
#3CD6EC
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #1FAC31

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

Preview Lab → · Contrast checker → · Palette generator →

#1FAC31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva