#1FA021#1FA021

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

Color values

HEX#1FA021
RGBrgb(31, 160, 33)
HSLhsl(121, 68%, 37%)
HSVhsv(121, 81%, 63%)
CMYKcmyk(80.6%, 0%, 79.4%, 37.3%)
CIE-LABlab(57.60, -56.94, 52.24)
CIE-LCHlch(57.60, 77.28, 137.46°)
OKLaboklab(61.59% -0.1545 0.1168)
OKLCHoklch(61.59% 0.194 142.9)
XYZxyz(13.4095, 25.5411, 5.6618)
Luminance0.2554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA021 #A01F9E
analogous
#5EA01F #1FA021 #1FA061
triadic
#1FA021 #211FA0 #A0211F
tetradic
#1FA021 #1F5EA0 #A01F9E #A0611F
square
#1FA021 #1F5EA0 #A01F9E #A0611F
split-complementary
#1FA021 #611FA0 #A01F5E
monochromatic
#0B390C #156D16 #1FA021 #29D32C #5ADF5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1fa021;
/* rgb */ color: rgb(31, 160, 33);
/* oklch */ color: oklch(61.6% 0.194 142.9);
Tailwind
colors: {
  custom: {
    50: '#74bd67',
    500: '#1fa021',
    950: '#000000',
  },
}
SCSS
$custom: #1fa021;
$custom-light: #74bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa021",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 120.93,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.19365,
    "h": 142.9
  },
  "luminance": 0.25543
}

Semantic roles & 50–950 ramp

primary
#1FA021
secondary
#C358C1
accent
#3DE8EA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1FA021

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

Preview Lab → · Contrast checker → · Palette generator →

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