#1FA52C#1FA52C

#1FA52C is a light, vivid green. Relative luminance 0.274; OKLCH L 63.0% C 0.193 H 143.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#1FA52C
RGBrgb(31, 165, 44)
HSLhsl(126, 68%, 38%)
HSVhsv(126, 81%, 65%)
CMYKcmyk(81.2%, 0%, 73.3%, 35.3%)
CIE-LABlab(59.33, -57.68, 50.12)
CIE-LCHlch(59.33, 76.41, 139.01°)
OKLaboklab(63.05% -0.156 0.1138)
OKLCHoklch(63.05% 0.193 143.9)
XYZxyz(14.4739, 27.3817, 6.9048)
Luminance0.2738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA52C #A51F98
analogous
#55A51F #1FA52C #1FA56F
triadic
#1FA52C #2C1FA5 #A52C1F
tetradic
#1FA52C #1F55A5 #A51F98 #A56F1F
square
#1FA52C #1F55A5 #A51F98 #A56F1F
split-complementary
#1FA52C #6F1FA5 #A51F55
monochromatic
#0C3E11 #15711E #1FA52C #2AD73B #5EE16A

Accessibility & contrast

On white

3.24
#1FA52C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#1FA52C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA52C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA52C#FFFFFF#000000##000000
##1FA52C1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89517
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#00A08D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #1fa52c;
/* rgb */ color: rgb(31, 165, 44);
/* oklch */ color: oklch(63.0% 0.193 143.9);
Tailwind
colors: {
  custom: {
    50: '#75c16d',
    500: '#1fa52c',
    950: '#000000',
  },
}
SCSS
$custom: #1fa52c;
$custom-light: #75c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa52c",
  "rgb": {
    "r": 31,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 125.821,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63047,
    "c": 0.19309,
    "h": 143.9
  },
  "luminance": 0.27383
}

Semantic roles & 50–950 ramp

primary
#1FA52C
secondary
#C55BBB
accent
#3DDAEB
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA52C

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

Preview Lab → · Contrast checker → · Palette generator →

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