#1FA81F#1FA81F

#1FA81F is a light, highly saturated green. Relative luminance 0.284; OKLCH L 63.8% C 0.203 H 142.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#1FA81F
RGBrgb(31, 168, 31)
HSLhsl(120, 69%, 39%)
HSVhsv(120, 82%, 66%)
CMYKcmyk(81.5%, 0%, 81.5%, 34.1%)
CIE-LABlab(60.24, -59.55, 55.36)
CIE-LCHlch(60.24, 81.31, 137.09°)
OKLaboklab(63.79% -0.1616 0.123)
OKLCHoklch(63.79% 0.203 142.7)
XYZxyz(14.8141, 28.3937, 5.9958)
Luminance0.2839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA81F #A81FA8
analogous
#64A81F #1FA81F #1FA864
triadic
#1FA81F #1F1FA8 #A81F1F
tetradic
#1FA81F #1F64A8 #A81FA8 #A8641F
square
#1FA81F #1F64A8 #A81FA8 #A8641F
split-complementary
#1FA81F #641FA8 #A81F64
monochromatic
#0C410C #157415 #1FA81F #2CD82C #60E260

Accessibility & contrast

On white

3.14
#1FA81F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#1FA81F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA81F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA81F#FFFFFF#000000##000000
##1FA81F1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#00A38F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa81f;
/* rgb */ color: rgb(31, 168, 31);
/* oklch */ color: oklch(63.8% 0.203 142.7);
Tailwind
colors: {
  custom: {
    50: '#76c367',
    500: '#1fa81f',
    950: '#000000',
  },
}
SCSS
$custom: #1fa81f;
$custom-light: #76c367;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa81f",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63785,
    "c": 0.20312,
    "h": 142.7
  },
  "luminance": 0.28395
}

Semantic roles & 50–950 ramp

primary
#1FA81F
secondary
#C65DC6
accent
#3CECEC
background
#F7FCF6
surface
#EEF8EB
border
#C9D1C6
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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