#1FA42B#1FA42B

#1FA42B is a light, vivid green. Relative luminance 0.270; OKLCH L 62.8% C 0.193 H 143.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#1FA42B
RGBrgb(31, 164, 43)
HSLhsl(125, 68%, 38%)
HSVhsv(125, 81%, 64%)
CMYKcmyk(81.1%, 0%, 73.8%, 35.7%)
CIE-LABlab(58.99, -57.44, 50.15)
CIE-LCHlch(58.99, 76.25, 138.88°)
OKLaboklab(62.76% -0.1554 0.1138)
OKLCHoklch(62.76% 0.193 143.8)
XYZxyz(14.2756, 27.0149, 6.7471)
Luminance0.2702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA42B #A41F98
analogous
#55A41F #1FA42B #1FA46E
triadic
#1FA42B #2B1FA4 #A42B1F
tetradic
#1FA42B #1F55A4 #A41F98 #A46E1F
square
#1FA42B #1F55A4 #A41F98 #A46E1F
split-complementary
#1FA42B #6E1FA4 #A41F55
monochromatic
#0C3D10 #15711E #1FA42B #2AD739 #5DE069

Accessibility & contrast

On white

3.28
#1FA42B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#1FA42B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA42B
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA42B#FFFFFF#000000##000000
##1FA42B1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79415
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#009F8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #1fa42b;
/* rgb */ color: rgb(31, 164, 43);
/* oklch */ color: oklch(62.8% 0.193 143.8);
Tailwind
colors: {
  custom: {
    50: '#74c06c',
    500: '#1fa42b',
    950: '#000000',
  },
}
SCSS
$custom: #1fa42b;
$custom-light: #74c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa42b",
  "rgb": {
    "r": 31,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 125.414,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62763,
    "c": 0.19258,
    "h": 143.8
  },
  "luminance": 0.27017
}

Semantic roles & 50–950 ramp

primary
#1FA42B
secondary
#C55ABB
accent
#3DDBEB
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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