#1FA827#1FA827

#1FA827 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#1FA827
RGBrgb(31, 168, 39)
HSLhsl(124, 69%, 39%)
HSVhsv(124, 82%, 66%)
CMYKcmyk(81.5%, 0%, 76.8%, 34.1%)
CIE-LABlab(60.29, -59.02, 52.88)
CIE-LCHlch(60.29, 79.24, 138.14°)
OKLaboklab(63.83% -0.1598 0.1189)
OKLCHoklch(63.83% 0.199 143.4)
XYZxyz(14.9329, 28.4412, 6.6218)
Luminance0.2844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA827 #A81FA0
analogous
#5CA81F #1FA827 #1FA86C
triadic
#1FA827 #271FA8 #A8271F
tetradic
#1FA827 #1F5CA8 #A81FA0 #A86C1F
square
#1FA827 #1F5CA8 #A81FA0 #A86C1F
split-complementary
#1FA827 #6C1FA8 #A81F5C
monochromatic
#0C410F #15741B #1FA827 #2CD836 #60E267

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#1FA827
secondary
#C65DC0
accent
#3CE1EC
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FA827

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

Preview Lab → · Contrast checker → · Palette generator →

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