#1FA82A#1FA82A

#1FA82A is a light, vivid green. Relative luminance 0.285; OKLCH L 63.9% C 0.198 H 143.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#1FA82A
RGBrgb(31, 168, 42)
HSLhsl(125, 69%, 39%)
HSVhsv(125, 82%, 66%)
CMYKcmyk(81.5%, 0%, 75%, 34.1%)
CIE-LABlab(60.30, -58.79, 51.84)
CIE-LCHlch(60.30, 78.38, 138.59°)
OKLaboklab(63.86% -0.1591 0.1172)
OKLCHoklch(63.86% 0.198 143.6)
XYZxyz(14.9846, 28.4619, 6.8940)
Luminance0.2846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA82A #A81F9D
analogous
#58A81F #1FA82A #1FA86F
triadic
#1FA82A #2A1FA8 #A82A1F
tetradic
#1FA82A #1F58A8 #A81F9D #A86F1F
square
#1FA82A #1F58A8 #A81F9D #A86F1F
split-complementary
#1FA82A #6F1FA8 #A81F58
monochromatic
#0C4110 #15741D #1FA82A #2CD83A #60E26A

Accessibility & contrast

On white

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

On black

6.69
#1FA82A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA82A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA82A#FFFFFF#000000##000000
##1FA82A1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9811
Deuteranopia (green-blind)
#9D8D38
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa82a;
/* rgb */ color: rgb(31, 168, 42);
/* oklch */ color: oklch(63.9% 0.198 143.6);
Tailwind
colors: {
  custom: {
    50: '#75c36c',
    500: '#1fa82a',
    950: '#000000',
  },
}
SCSS
$custom: #1fa82a;
$custom-light: #75c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa82a",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 124.818,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63856,
    "c": 0.19758,
    "h": 143.6
  },
  "luminance": 0.28464
}

Semantic roles & 50–950 ramp

primary
#1FA82A
secondary
#C65DBE
accent
#3CDEEC
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FA82A

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

Preview Lab → · Contrast checker → · Palette generator →

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