#1FB42F#1FB42F

#1FB42F is a light, highly saturated green. Relative luminance 0.331; OKLCH L 67.2% C 0.208 H 143.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#1FB42F
RGBrgb(31, 180, 47)
HSLhsl(126, 71%, 41%)
HSVhsv(126, 83%, 71%)
CMYKcmyk(82.8%, 0%, 73.9%, 29.4%)
CIE-LABlab(64.27, -62.10, 54.05)
CIE-LCHlch(64.27, 82.33, 138.97°)
OKLaboklab(67.17% -0.1679 0.1224)
OKLCHoklch(67.17% 0.208 143.9)
XYZxyz(17.3982, 33.1369, 8.1679)
Luminance0.3314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FB42F #B41FA4
analogous
#5AB41F #1FB42F #1FB47A
triadic
#1FB42F #2F1FB4 #B42F1F
tetradic
#1FB42F #1F5AB4 #B41FA4 #B47A1F
square
#1FB42F #1F5AB4 #B41FA4 #B47A1F
split-complementary
#1FB42F #7A1FB4 #B41F5A
monochromatic
#0D4C14 #168021 #1FB42F #34DC46 #68E576

Accessibility & contrast

On white

2.75
#1FB42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#1FB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1FB42F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FB42F#FFFFFF#000000##000000
##1FB42F1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A216
Deuteranopia (green-blind)
#A8983D
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #1fb42f;
/* rgb */ color: rgb(31, 180, 47);
/* oklch */ color: oklch(67.2% 0.208 143.9);
Tailwind
colors: {
  custom: {
    50: '#78cc70',
    500: '#1fb42f',
    950: '#000000',
  },
}
SCSS
$custom: #1fb42f;
$custom-light: #78cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#1fb42f",
  "rgb": {
    "r": 31,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 126.443,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67168,
    "c": 0.20779,
    "h": 143.9
  },
  "luminance": 0.33139
}

Semantic roles & 50–950 ramp

primary
#1FB42F
secondary
#CB64C0
accent
#3ADAED
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #1FB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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