#1FA820#1FA820

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

Color values

HEX#1FA820
RGBrgb(31, 168, 32)
HSLhsl(120, 69%, 39%)
HSVhsv(120, 82%, 66%)
CMYKcmyk(81.5%, 0%, 81%, 34.1%)
CIE-LABlab(60.25, -59.49, 55.07)
CIE-LCHlch(60.25, 81.07, 137.21°)
OKLaboklab(63.79% -0.1614 0.1225)
OKLCHoklch(63.79% 0.203 142.8)
XYZxyz(14.8275, 28.3990, 6.0663)
Luminance0.2840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA820 #A81FA7
analogous
#63A81F #1FA820 #1FA865
triadic
#1FA820 #201FA8 #A8201F
tetradic
#1FA820 #1F63A8 #A81FA7 #A8651F
square
#1FA820 #1F63A8 #A81FA7 #A8651F
split-complementary
#1FA820 #651FA8 #A81F63
monochromatic
#0C410C #157416 #1FA820 #2CD82D #60E261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA820#FFFFFF#000000##000000
##1FA8201.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)
#9D8D31
Tritanopia (blue-blind)
#00A38F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa820;
/* rgb */ color: rgb(31, 168, 32);
/* oklch */ color: oklch(63.8% 0.203 142.8);
Tailwind
colors: {
  custom: {
    50: '#76c367',
    500: '#1fa820',
    950: '#000000',
  },
}
SCSS
$custom: #1fa820;
$custom-light: #76c367;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa820",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 120.438,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63791,
    "c": 0.20267,
    "h": 142.8
  },
  "luminance": 0.28401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1FA820

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

Preview Lab → · Contrast checker → · Palette generator →

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