#1FA017#1FA017

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

Color values

HEX#1FA017
RGBrgb(31, 160, 23)
HSLhsl(116, 75%, 36%)
HSVhsv(116, 86%, 63%)
CMYKcmyk(80.6%, 0%, 85.6%, 37.3%)
CIE-LABlab(57.55, -57.52, 55.05)
CIE-LCHlch(57.55, 79.62, 136.26°)
OKLaboklab(61.54% -0.1564 0.1213)
OKLCHoklch(61.54% 0.198 142.2)
XYZxyz(13.2897, 25.4932, 5.0307)
Luminance0.2550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA017 #9817A0
analogous
#63A017 #1FA017 #17A053
triadic
#1FA017 #171FA0 #A0171F
tetradic
#1FA017 #1763A0 #9817A0 #A05317
square
#1FA017 #1763A0 #9817A0 #A05317
split-complementary
#1FA017 #5317A0 #A01763
monochromatic
#0A3508 #156A0F #1FA017 #29D61F #55E54C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA017#FFFFFF#000000##000000
##1FA0171.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)
#96872A
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1fa017;
/* rgb */ color: rgb(31, 160, 23);
/* oklch */ color: oklch(61.5% 0.198 142.2);
Tailwind
colors: {
  custom: {
    50: '#74bd63',
    500: '#1fa017',
    950: '#000000',
  },
}
SCSS
$custom: #1fa017;
$custom-light: #74bd63;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa017",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 116.496,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.19794,
    "h": 142.2
  },
  "luminance": 0.25495
}

Semantic roles & 50–950 ramp

primary
#1FA017
secondary
#C04CC7
accent
#36F1E7
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1FA017

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

Preview Lab → · Contrast checker → · Palette generator →

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