#1FA72B#1FA72B

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

Color values

HEX#1FA72B
RGBrgb(31, 167, 43)
HSLhsl(125, 69%, 39%)
HSVhsv(125, 81%, 65%)
CMYKcmyk(81.4%, 0%, 74.3%, 34.5%)
CIE-LABlab(59.98, -58.39, 51.16)
CIE-LCHlch(59.98, 77.63, 138.78°)
OKLaboklab(63.59% -0.158 0.1159)
OKLCHoklch(63.59% 0.196 143.7)
XYZxyz(14.8188, 28.1013, 6.9281)
Luminance0.2810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA72B #A71F9B
analogous
#57A71F #1FA72B #1FA76F
triadic
#1FA72B #2B1FA7 #A72B1F
tetradic
#1FA72B #1F57A7 #A71F9B #A76F1F
square
#1FA72B #1F57A7 #A71F9B #A76F1F
split-complementary
#1FA72B #6F1FA7 #A71F57
monochromatic
#0C4010 #15731E #1FA72B #2BD83B #5FE16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA72B#FFFFFF#000000##000000
##1FA72B1.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)
#AA9714
Deuteranopia (green-blind)
#9C8D38
Tritanopia (blue-blind)
#00A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa72b;
/* rgb */ color: rgb(31, 167, 43);
/* oklch */ color: oklch(63.6% 0.196 143.7);
Tailwind
colors: {
  custom: {
    50: '#75c26c',
    500: '#1fa72b',
    950: '#000000',
  },
}
SCSS
$custom: #1fa72b;
$custom-light: #75c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa72b",
  "rgb": {
    "r": 31,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 125.294,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63589,
    "c": 0.1959,
    "h": 143.7
  },
  "luminance": 0.28103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1FA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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