#1FB31C#1FB31C

#1FB31C is a light, highly saturated green. Relative luminance 0.326; OKLCH L 66.8% C 0.216 H 142.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#1FB31C
RGBrgb(31, 179, 28)
HSLhsl(119, 73%, 41%)
HSVhsv(119, 84%, 70%)
CMYKcmyk(82.7%, 0%, 84.4%, 29.8%)
CIE-LABlab(63.85, -63.04, 59.49)
CIE-LCHlch(63.85, 86.68, 136.66°)
OKLaboklab(66.78% -0.1712 0.1312)
OKLCHoklch(66.78% 0.216 142.5)
XYZxyz(16.8937, 32.6133, 6.5030)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FB31C #B01CB3
analogous
#6AB31C #1FB31C #1CB364
triadic
#1FB31C #1C1FB3 #B31C1F
tetradic
#1FB31C #1C6AB3 #B01CB3 #B3641C
square
#1FB31C #1C6AB3 #B01CB3 #B3641C
split-complementary
#1FB31C #641CB3 #B31C6A
monochromatic
#0D490B #167E14 #1FB31C #31DE2E #65E763

Accessibility & contrast

On white

2.79
#1FB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#1FB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1FB31C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FB31C#FFFFFF#000000##000000
##1FB31C1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #1fb31c;
/* rgb */ color: rgb(31, 179, 28);
/* oklch */ color: oklch(66.8% 0.216 142.5);
Tailwind
colors: {
  custom: {
    50: '#79cb68',
    500: '#1fb31c',
    950: '#000000',
  },
}
SCSS
$custom: #1fb31c;
$custom-light: #79cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#1fb31c",
  "rgb": {
    "r": 31,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 118.808,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66782,
    "c": 0.21572,
    "h": 142.5
  },
  "luminance": 0.32615
}

Semantic roles & 50–950 ramp

primary
#1FB31C
secondary
#C95FCB
accent
#38F0EC
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #1FB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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