#42B131#42B131

#42B131 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.2% C 0.193 H 141.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#42B131
RGBrgb(66, 177, 49)
HSLhsl(112, 57%, 44%)
HSVhsv(112, 72%, 69%)
CMYKcmyk(62.7%, 0%, 72.3%, 30.6%)
CIE-LABlab(64.02, -55.02, 53.28)
CIE-LCHlch(64.02, 76.59, 135.92°)
OKLaboklab(67.16% -0.1503 0.1209)
OKLCHoklch(67.16% 0.193 141.2)
XYZxyz(18.5223, 32.8225, 8.2644)
Luminance0.3282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B131 #A031B1
analogous
#82B131 #42B131 #31B160
triadic
#42B131 #3142B1 #B13142
tetradic
#42B131 #3182B1 #A031B1 #B16031
square
#42B131 #3182B1 #A031B1 #B16031
split-complementary
#42B131 #6031B1 #B13182
monochromatic
#1E5116 #308124 #42B131 #61CF51 #8DDC80

Accessibility & contrast

On white

2.78
#42B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#42B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B131
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B131#FFFFFF#000000##000000
##42B1311.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11B
Deuteranopia (green-blind)
#A8983E
Tritanopia (blue-blind)
#30AB98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42b131;
/* rgb */ color: rgb(66, 177, 49);
/* oklch */ color: oklch(67.2% 0.193 141.2);
Tailwind
colors: {
  custom: {
    50: '#84c971',
    500: '#42b131',
    950: '#000000',
  },
}
SCSS
$custom: #42b131;
$custom-light: #84c971;
$custom-dark: #000000;
JSON
{
  "hex": "#42b131",
  "rgb": {
    "r": 66,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 112.031,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67162,
    "c": 0.1929,
    "h": 141.2
  },
  "luminance": 0.32824
}

Semantic roles & 50–950 ramp

primary
#42B131
secondary
#BB79C5
accent
#48E0CC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B131

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

Preview Lab → · Contrast checker → · Palette generator →

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