#42BC1F#42BC1F

#42BC1F is a light, highly saturated green. Relative luminance 0.372; OKLCH L 70.0% C 0.214 H 140.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#42BC1F
RGBrgb(66, 188, 31)
HSLhsl(107, 72%, 43%)
HSVhsv(107, 84%, 74%)
CMYKcmyk(64.9%, 0%, 83.5%, 26.3%)
CIE-LABlab(67.44, -59.93, 62.24)
CIE-LCHlch(67.44, 86.41, 133.92°)
OKLaboklab(69.97% -0.1645 0.1371)
OKLCHoklch(69.97% 0.214 140.2)
XYZxyz(20.4763, 37.2216, 7.4015)
Luminance0.3722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BC1F #991FBC
analogous
#90BC1F #42BC1F #1FBC4A
triadic
#42BC1F #1F42BC #BC1F42
tetradic
#42BC1F #1F90BC #991FBC #BC4A1F
square
#42BC1F #1F90BC #991FBC #BC4A1F
split-complementary
#42BC1F #4A1FBC #BC1F90
monochromatic
#1D530E #308716 #42BC1F #5EDE3A #89E76E

Accessibility & contrast

On white

2.49
#42BC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#42BC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BC1F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BC1F#FFFFFF#000000##000000
##42BC1F1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#2EB6A0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #42bc1f;
/* rgb */ color: rgb(66, 188, 31);
/* oklch */ color: oklch(70.0% 0.214 140.2);
Tailwind
colors: {
  custom: {
    50: '#87d16a',
    500: '#42bc1f',
    950: '#000000',
  },
}
SCSS
$custom: #42bc1f;
$custom-light: #87d16a;
$custom-dark: #000000;
JSON
{
  "hex": "#42bc1f",
  "rgb": {
    "r": 66,
    "g": 188,
    "b": 31
  },
  "hsl": {
    "h": 106.624,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69968,
    "c": 0.21414,
    "h": 140.2
  },
  "luminance": 0.37224
}

Semantic roles & 50–950 ramp

primary
#42BC1F
secondary
#B769CD
accent
#39EEC6
background
#F9FDF6
surface
#F1FAEC
border
#CBD3C7
text
#0D1407
muted
#7E837A

Preview Lab

Preview with #42BC1F

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

Preview Lab → · Contrast checker → · Palette generator →

#42BC1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva