#1FB31E#1FB31E

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

Color values

HEX#1FB31E
RGBrgb(31, 179, 30)
HSLhsl(120, 71%, 41%)
HSVhsv(120, 83%, 70%)
CMYKcmyk(82.7%, 0%, 83.2%, 29.8%)
CIE-LABlab(63.85, -62.94, 58.98)
CIE-LCHlch(63.85, 86.26, 136.86°)
OKLaboklab(66.79% -0.1709 0.1304)
OKLCHoklch(66.79% 0.215 142.6)
XYZxyz(16.9184, 32.6232, 6.6333)
Luminance0.3262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FB31E #B21EB3
analogous
#69B31E #1FB31E #1EB367
triadic
#1FB31E #1E1FB3 #B31E1F
tetradic
#1FB31E #1E69B3 #B21EB3 #B3671E
square
#1FB31E #1E69B3 #B21EB3 #B3671E
split-complementary
#1FB31E #671EB3 #B31E69
monochromatic
#0D4A0C #167F15 #1FB31E #33DD32 #67E566

Accessibility & contrast

On white

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

On black

7.53
#1FB31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1FB31E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FB31E#FFFFFF#000000##000000
##1FB31E1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1fb31e;
/* rgb */ color: rgb(31, 179, 30);
/* oklch */ color: oklch(66.8% 0.215 142.6);
Tailwind
colors: {
  custom: {
    50: '#79cb68',
    500: '#1fb31e',
    950: '#000000',
  },
}
SCSS
$custom: #1fb31e;
$custom-light: #79cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#1fb31e",
  "rgb": {
    "r": 31,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 119.597,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66792,
    "c": 0.21496,
    "h": 142.6
  },
  "luminance": 0.32625
}

Semantic roles & 50–950 ramp

primary
#1FB31E
secondary
#CA62CB
accent
#3AEEED
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #1FB31E

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

Preview Lab → · Contrast checker → · Palette generator →

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