#1FB242#1FB242

#1FB242 is a light, vivid green. Relative luminance 0.325; OKLCH L 66.8% C 0.193 H 146.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#1FB242
RGBrgb(31, 178, 66)
HSLhsl(134, 70%, 41%)
HSVhsv(134, 83%, 70%)
CMYKcmyk(82.6%, 0%, 62.9%, 30.2%)
CIE-LABlab(63.77, -59.58, 45.80)
CIE-LCHlch(63.77, 75.14, 142.45°)
OKLaboklab(66.8% -0.1603 0.1072)
OKLCHoklch(66.8% 0.193 146.2)
XYZxyz(17.4675, 32.5233, 10.5102)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FB242 #B21F8F
analogous
#45B21F #1FB242 #1FB28B
triadic
#1FB242 #421FB2 #B2421F
tetradic
#1FB242 #1F45B2 #B21F8F #B28B1F
square
#1FB242 #1F45B2 #B21F8F #B28B1F
split-complementary
#1FB242 #8B1FB2 #B21F45
monochromatic
#0D4A1B #167E2F #1FB242 #33DB5B #67E585

Accessibility & contrast

On white

2.80
#1FB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#1FB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1FB242
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FB242#FFFFFF#000000##000000
##1FB2421.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A135
Deuteranopia (green-blind)
#A5964C
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #1fb242;
/* rgb */ color: rgb(31, 178, 66);
/* oklch */ color: oklch(66.8% 0.193 146.2);
Tailwind
colors: {
  custom: {
    50: '#77ca7b',
    500: '#1fb242',
    950: '#000000',
  },
}
SCSS
$custom: #1fb242;
$custom-light: #77ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1fb242",
  "rgb": {
    "r": 31,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 134.286,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.19282,
    "h": 146.2
  },
  "luminance": 0.32525
}

Semantic roles & 50–950 ramp

primary
#1FB242
secondary
#CA63B1
accent
#3BC3ED
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #1FB242

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

Preview Lab → · Contrast checker → · Palette generator →

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