#1FA42D#1FA42D

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

Color values

HEX#1FA42D
RGBrgb(31, 164, 45)
HSLhsl(126, 68%, 38%)
HSVhsv(126, 81%, 64%)
CMYKcmyk(81.1%, 0%, 72.6%, 35.7%)
CIE-LABlab(59.00, -57.27, 49.40)
CIE-LCHlch(59.00, 75.64, 139.22°)
OKLaboklab(62.78% -0.1548 0.1125)
OKLCHoklch(62.78% 0.191 144)
XYZxyz(14.3132, 27.0299, 6.9451)
Luminance0.2703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA42D #A41F96
analogous
#53A41F #1FA42D #1FA46F
triadic
#1FA42D #2D1FA4 #A42D1F
tetradic
#1FA42D #1F53A4 #A41F96 #A46F1F
square
#1FA42D #1F53A4 #A41F96 #A46F1F
split-complementary
#1FA42D #6F1FA4 #A41F53
monochromatic
#0C3D11 #15711F #1FA42D #2AD73C #5DE06B

Accessibility & contrast

On white

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

On black

6.41
#1FA42D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA42D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA42D#FFFFFF#000000##000000
##1FA42D1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79419
Deuteranopia (green-blind)
#998A39
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #1fa42d;
/* rgb */ color: rgb(31, 164, 45);
/* oklch */ color: oklch(62.8% 0.191 144.0);
Tailwind
colors: {
  custom: {
    50: '#74c06d',
    500: '#1fa42d',
    950: '#000000',
  },
}
SCSS
$custom: #1fa42d;
$custom-light: #74c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa42d",
  "rgb": {
    "r": 31,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 126.316,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.19137,
    "h": 144
  },
  "luminance": 0.27032
}

Semantic roles & 50–950 ramp

primary
#1FA42D
secondary
#C55AB9
accent
#3DD9EB
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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