#1FA022#1FA022

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

Color values

HEX#1FA022
RGBrgb(31, 160, 34)
HSLhsl(121, 68%, 37%)
HSVhsv(121, 81%, 63%)
CMYKcmyk(80.6%, 0%, 78.8%, 37.3%)
CIE-LABlab(57.60, -56.88, 51.93)
CIE-LCHlch(57.60, 77.01, 137.60°)
OKLaboklab(61.59% -0.1542 0.1163)
OKLCHoklch(61.59% 0.193 143)
XYZxyz(13.4237, 25.5468, 5.7366)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA022 #A01F9D
analogous
#5DA01F #1FA022 #1FA062
triadic
#1FA022 #221FA0 #A0221F
tetradic
#1FA022 #1F5DA0 #A01F9D #A0621F
square
#1FA022 #1F5DA0 #A01F9D #A0621F
split-complementary
#1FA022 #621FA0 #A01F5D
monochromatic
#0B390C #156D17 #1FA022 #29D32D #5ADF5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1fa022;
/* rgb */ color: rgb(31, 160, 34);
/* oklch */ color: oklch(61.6% 0.193 143.0);
Tailwind
colors: {
  custom: {
    50: '#74bd67',
    500: '#1fa022',
    950: '#000000',
  },
}
SCSS
$custom: #1fa022;
$custom-light: #74bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa022",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 121.395,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61594,
    "c": 0.19314,
    "h": 143
  },
  "luminance": 0.25548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1FA022

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

Preview Lab → · Contrast checker → · Palette generator →

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