#1FA01C#1FA01C

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

Color values

HEX#1FA01C
RGBrgb(31, 160, 28)
HSLhsl(119, 70%, 37%)
HSVhsv(119, 83%, 63%)
CMYKcmyk(80.6%, 0%, 82.5%, 37.3%)
CIE-LABlab(57.57, -57.26, 53.74)
CIE-LCHlch(57.57, 78.52, 136.82°)
OKLaboklab(61.56% -0.1555 0.1192)
OKLCHoklch(61.56% 0.196 142.5)
XYZxyz(13.3446, 25.5151, 5.3200)
Luminance0.2552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA01C #9D1CA0
analogous
#61A01C #1FA01C #1CA05B
triadic
#1FA01C #1C1FA0 #A01C1F
tetradic
#1FA01C #1C61A0 #9D1CA0 #A05B1C
square
#1FA01C #1C61A0 #9D1CA0 #A05B1C
split-complementary
#1FA01C #5B1CA0 #A01C61
monochromatic
#0B380A #156C13 #1FA01C #29D425 #58E155

Accessibility & contrast

On white

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

On black

6.10
#1FA01C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA01C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA01C#FFFFFF#000000##000000
##1FA01C1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1fa01c;
/* rgb */ color: rgb(31, 160, 28);
/* oklch */ color: oklch(61.6% 0.196 142.5);
Tailwind
colors: {
  custom: {
    50: '#74bd65',
    500: '#1fa01c',
    950: '#000000',
  },
}
SCSS
$custom: #1fa01c;
$custom-light: #74bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa01c",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 118.636,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.19595,
    "h": 142.5
  },
  "luminance": 0.25517
}

Semantic roles & 50–950 ramp

primary
#1FA01C
secondary
#C253C4
accent
#3BEDE9
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1FA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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