#1FA742#1FA742

#1FA742 is a light, vivid green. Relative luminance 0.283; OKLCH L 63.8% C 0.180 H 146.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#1FA742
RGBrgb(31, 167, 66)
HSLhsl(135, 69%, 39%)
HSVhsv(135, 81%, 65%)
CMYKcmyk(81.4%, 0%, 60.5%, 34.5%)
CIE-LABlab(60.18, -55.97, 41.68)
CIE-LCHlch(60.18, 69.78, 143.32°)
OKLaboklab(63.82% -0.1505 0.0983)
OKLCHoklch(63.82% 0.18 146.8)
XYZxyz(15.3660, 28.3202, 9.8097)
Luminance0.2832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA742 #A71F84
analogous
#40A71F #1FA742 #1FA786
triadic
#1FA742 #421FA7 #A7421F
tetradic
#1FA742 #1F40A7 #A71F84 #A7861F
square
#1FA742 #1F40A7 #A71F84 #A7861F
split-complementary
#1FA742 #861FA7 #A71F40
monochromatic
#0C4019 #15732E #1FA742 #2BD858 #5FE181

Accessibility & contrast

On white

3.15
#1FA742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#1FA742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA742
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA742#FFFFFF#000000##000000
##1FA7421.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99737
Deuteranopia (green-blind)
#9A8D4A
Tritanopia (blue-blind)
#00A391
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa742;
/* rgb */ color: rgb(31, 167, 66);
/* oklch */ color: oklch(63.8% 0.180 146.8);
Tailwind
colors: {
  custom: {
    50: '#74c27a',
    500: '#1fa742',
    950: '#000000',
  },
}
SCSS
$custom: #1fa742;
$custom-light: #74c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa742",
  "rgb": {
    "r": 31,
    "g": 167,
    "b": 66
  },
  "hsl": {
    "h": 135.441,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63815,
    "c": 0.17977,
    "h": 146.8
  },
  "luminance": 0.28322
}

Semantic roles & 50–950 ramp

primary
#1FA742
secondary
#C65CAB
accent
#3CBEEC
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #1FA742

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

Preview Lab → · Contrast checker → · Palette generator →

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