#1FA01F#1FA01F

#1FA01F is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.6% C 0.195 H 142.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#1FA01F
RGBrgb(31, 160, 31)
HSLhsl(120, 68%, 37%)
HSVhsv(120, 81%, 63%)
CMYKcmyk(80.6%, 0%, 80.6%, 37.3%)
CIE-LABlab(57.59, -57.07, 52.86)
CIE-LCHlch(57.59, 77.79, 137.19°)
OKLaboklab(61.58% -0.1549 0.1178)
OKLCHoklch(61.58% 0.195 142.8)
XYZxyz(13.3824, 25.5302, 5.5186)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA01F #A01FA0
analogous
#60A01F #1FA01F #1FA060
triadic
#1FA01F #1F1FA0 #A01F1F
tetradic
#1FA01F #1F60A0 #A01FA0 #A0601F
square
#1FA01F #1F60A0 #A01FA0 #A0601F
split-complementary
#1FA01F #601FA0 #A01F60
monochromatic
#0B390B #156D15 #1FA01F #29D329 #5ADF5A

Accessibility & contrast

On white

3.44
#1FA01F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#1FA01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1FA01F#FFFFFF#000000##000000
##1FA01F1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1fa01f;
/* rgb */ color: rgb(31, 160, 31);
/* oklch */ color: oklch(61.6% 0.195 142.8);
Tailwind
colors: {
  custom: {
    50: '#74bd66',
    500: '#1fa01f',
    950: '#000000',
  },
}
SCSS
$custom: #1fa01f;
$custom-light: #74bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa01f",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61576,
    "c": 0.19461,
    "h": 142.8
  },
  "luminance": 0.25532
}

Semantic roles & 50–950 ramp

primary
#1FA01F
secondary
#C358C3
accent
#3DEAEA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1FA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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