#1FA828#1FA828

#1FA828 is a light, vivid green. Relative luminance 0.284; OKLCH L 63.8% C 0.199 H 143.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#1FA828
RGBrgb(31, 168, 40)
HSLhsl(124, 69%, 39%)
HSVhsv(124, 82%, 66%)
CMYKcmyk(81.5%, 0%, 76.2%, 34.1%)
CIE-LABlab(60.29, -58.94, 52.54)
CIE-LCHlch(60.29, 78.96, 138.29°)
OKLaboklab(63.84% -0.1596 0.1184)
OKLCHoklch(63.84% 0.199 143.4)
XYZxyz(14.9497, 28.4479, 6.7102)
Luminance0.2845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA828 #A81F9F
analogous
#5BA81F #1FA828 #1FA86D
triadic
#1FA828 #281FA8 #A8281F
tetradic
#1FA828 #1F5BA8 #A81F9F #A86D1F
square
#1FA828 #1F5BA8 #A81F9F #A86D1F
split-complementary
#1FA828 #6D1FA8 #A81F5B
monochromatic
#0C410F #15741C #1FA828 #2CD837 #60E268

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA828#FFFFFF#000000##000000
##1FA8281.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)
#AC970B
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa828;
/* rgb */ color: rgb(31, 168, 40);
/* oklch */ color: oklch(63.8% 0.199 143.4);
Tailwind
colors: {
  custom: {
    50: '#76c36b',
    500: '#1fa828',
    950: '#000000',
  },
}
SCSS
$custom: #1fa828;
$custom-light: #76c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa828",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 123.942,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63841,
    "c": 0.19869,
    "h": 143.4
  },
  "luminance": 0.2845
}

Semantic roles & 50–950 ramp

primary
#1FA828
secondary
#C65DBF
accent
#3CE0EC
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FA828

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

Preview Lab → · Contrast checker → · Palette generator →

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