#1FA020#1FA020

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

Color values

HEX#1FA020
RGBrgb(31, 160, 32)
HSLhsl(120, 68%, 37%)
HSVhsv(120, 81%, 63%)
CMYKcmyk(80.6%, 0%, 80%, 37.3%)
CIE-LABlab(57.59, -57.01, 52.56)
CIE-LCHlch(57.59, 77.54, 137.33°)
OKLaboklab(61.58% -0.1547 0.1173)
OKLCHoklch(61.58% 0.194 142.8)
XYZxyz(13.3957, 25.5356, 5.5891)
Luminance0.2554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA020 #A01F9F
analogous
#5FA01F #1FA020 #1FA060
triadic
#1FA020 #201FA0 #A0201F
tetradic
#1FA020 #1F5FA0 #A01F9F #A0601F
square
#1FA020 #1F5FA0 #A01F9F #A0601F
split-complementary
#1FA020 #601FA0 #A01F5F
monochromatic
#0B390B #156D16 #1FA020 #29D32A #5ADF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA020#FFFFFF#000000##000000
##1FA0201.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: #1fa020;
/* rgb */ color: rgb(31, 160, 32);
/* oklch */ color: oklch(61.6% 0.194 142.8);
Tailwind
colors: {
  custom: {
    50: '#74bd66',
    500: '#1fa020',
    950: '#000000',
  },
}
SCSS
$custom: #1fa020;
$custom-light: #74bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa020",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 120.465,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61582,
    "c": 0.19414,
    "h": 142.8
  },
  "luminance": 0.25537
}

Semantic roles & 50–950 ramp

primary
#1FA020
secondary
#C358C2
accent
#3DE9EA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1FA020

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

Preview Lab → · Contrast checker → · Palette generator →

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