#1FA72C#1FA72C

#1FA72C is a light, vivid green. Relative luminance 0.281; OKLCH L 63.6% C 0.195 H 143.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#1FA72C
RGBrgb(31, 167, 44)
HSLhsl(126, 69%, 39%)
HSVhsv(126, 81%, 65%)
CMYKcmyk(81.4%, 0%, 73.7%, 34.5%)
CIE-LABlab(59.99, -58.31, 50.79)
CIE-LCHlch(59.99, 77.33, 138.94°)
OKLaboklab(63.6% -0.1577 0.1152)
OKLCHoklch(63.6% 0.195 143.8)
XYZxyz(14.8374, 28.1088, 7.0259)
Luminance0.2811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA72C #A71F9A
analogous
#56A71F #1FA72C #1FA770
triadic
#1FA72C #2C1FA7 #A72C1F
tetradic
#1FA72C #1F56A7 #A71F9A #A7701F
square
#1FA72C #1F56A7 #A71F9A #A7701F
split-complementary
#1FA72C #701FA7 #A71F56
monochromatic
#0C4011 #15731E #1FA72C #2BD83C #5FE16C

Accessibility & contrast

On white

3.17
#1FA72C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#1FA72C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA72C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA72C#FFFFFF#000000##000000
##1FA72C1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9716
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#00A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa72c;
/* rgb */ color: rgb(31, 167, 44);
/* oklch */ color: oklch(63.6% 0.195 143.8);
Tailwind
colors: {
  custom: {
    50: '#75c26d',
    500: '#1fa72c',
    950: '#000000',
  },
}
SCSS
$custom: #1fa72c;
$custom-light: #75c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa72c",
  "rgb": {
    "r": 31,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 125.735,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63596,
    "c": 0.19531,
    "h": 143.8
  },
  "luminance": 0.28111
}

Semantic roles & 50–950 ramp

primary
#1FA72C
secondary
#C65CBC
accent
#3CDBEC
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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