#1FA821#1FA821

#1FA821 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#1FA821
RGBrgb(31, 168, 33)
HSLhsl(121, 69%, 39%)
HSVhsv(121, 82%, 66%)
CMYKcmyk(81.5%, 0%, 80.4%, 34.1%)
CIE-LABlab(60.25, -59.43, 54.78)
CIE-LCHlch(60.25, 80.82, 137.33°)
OKLaboklab(63.8% -0.1612 0.1221)
OKLCHoklch(63.8% 0.202 142.9)
XYZxyz(14.8413, 28.4046, 6.1390)
Luminance0.2841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA821 #A81FA6
analogous
#62A81F #1FA821 #1FA866
triadic
#1FA821 #211FA8 #A8211F
tetradic
#1FA821 #1F62A8 #A81FA6 #A8661F
square
#1FA821 #1F62A8 #A81FA6 #A8661F
split-complementary
#1FA821 #661FA8 #A81F62
monochromatic
#0C410D #157417 #1FA821 #2CD82F #60E262

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA821#FFFFFF#000000##000000
##1FA8211.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: #1fa821;
/* rgb */ color: rgb(31, 168, 33);
/* oklch */ color: oklch(63.8% 0.202 142.9);
Tailwind
colors: {
  custom: {
    50: '#76c368',
    500: '#1fa821',
    950: '#000000',
  },
}
SCSS
$custom: #1fa821;
$custom-light: #76c368;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa821",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 120.876,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63797,
    "c": 0.20221,
    "h": 142.9
  },
  "luminance": 0.28406
}

Semantic roles & 50–950 ramp

primary
#1FA821
secondary
#C65DC5
accent
#3CE9EC
background
#F7FCF6
surface
#EEF8EB
border
#C9D1C6
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FA821

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

Preview Lab → · Contrast checker → · Palette generator →

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