#1FA822#1FA822

#1FA822 is a light, highly saturated green. Relative luminance 0.284; OKLCH L 63.8% C 0.202 H 142.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#1FA822
RGBrgb(31, 168, 34)
HSLhsl(121, 69%, 39%)
HSVhsv(121, 82%, 66%)
CMYKcmyk(81.5%, 0%, 79.8%, 34.1%)
CIE-LABlab(60.26, -59.37, 54.48)
CIE-LCHlch(60.26, 80.57, 137.46°)
OKLaboklab(63.8% -0.161 0.1216)
OKLCHoklch(63.8% 0.202 142.9)
XYZxyz(14.8555, 28.4103, 6.2139)
Luminance0.2841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA822 #A81FA5
analogous
#61A81F #1FA822 #1FA867
triadic
#1FA822 #221FA8 #A8221F
tetradic
#1FA822 #1F61A8 #A81FA5 #A8671F
square
#1FA822 #1F61A8 #A81FA5 #A8671F
split-complementary
#1FA822 #671FA8 #A81F61
monochromatic
#0C410D #157418 #1FA822 #2CD830 #60E263

Accessibility & contrast

On white

3.14
#1FA822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#1FA822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA822
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA822#FFFFFF#000000##000000
##1FA8221.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#00A38F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa822;
/* rgb */ color: rgb(31, 168, 34);
/* oklch */ color: oklch(63.8% 0.202 142.9);
Tailwind
colors: {
  custom: {
    50: '#76c368',
    500: '#1fa822',
    950: '#000000',
  },
}
SCSS
$custom: #1fa822;
$custom-light: #76c368;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa822",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 121.314,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63803,
    "c": 0.20175,
    "h": 142.9
  },
  "luminance": 0.28412
}

Semantic roles & 50–950 ramp

primary
#1FA822
secondary
#C65DC4
accent
#3CE8EC
background
#F7FCF6
surface
#EEF8EB
border
#C9D1C6
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FA822

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

Preview Lab → · Contrast checker → · Palette generator →

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