#42C167#42C167

#42C167 is a light, vivid green. Relative luminance 0.403; OKLCH L 72.0% C 0.170 H 149.5°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#42C167
RGBrgb(66, 193, 103)
HSLhsl(137, 51%, 51%)
HSVhsv(137, 66%, 76%)
CMYKcmyk(65.8%, 0%, 46.6%, 24.3%)
CIE-LABlab(69.67, -54.26, 35.25)
CIE-LCHlch(69.67, 64.71, 146.99°)
OKLaboklab(72.01% -0.1463 0.0862)
OKLCHoklch(72.01% 0.17 149.5)
XYZxyz(23.7631, 40.2750, 19.3509)
Luminance0.4028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C167 #C1429C
analogous
#5CC142 #42C167 #42C1A6
triadic
#42C167 #6742C1 #C16742
tetradic
#42C167 #425CC1 #C1429C #C1A642
square
#42C167 #425CC1 #C1429C #C1A642
split-complementary
#42C167 #A642C1 #C1425C
monochromatic
#226736 #31954E #42C167 #70D08C #9EDFB1

Accessibility & contrast

On white

2.32
#42C167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#42C167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C167
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C167#FFFFFF#000000##000000
##42C1671.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B160
Deuteranopia (green-blind)
#B3A66D
Tritanopia (blue-blind)
#0BBEAC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c167;
/* rgb */ color: rgb(66, 193, 103);
/* oklch */ color: oklch(72.0% 0.170 149.5);
Tailwind
colors: {
  custom: {
    50: '#85d594',
    500: '#42c167',
    950: '#000000',
  },
}
SCSS
$custom: #42c167;
$custom-light: #85d594;
$custom-dark: #000000;
JSON
{
  "hex": "#42c167",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 103
  },
  "hsl": {
    "h": 137.48,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72012,
    "c": 0.16983,
    "h": 149.5
  },
  "luminance": 0.40277
}

Semantic roles & 50–950 ramp

primary
#42C167
secondary
#CC93BB
accent
#4EB1DA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #42C167

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

Preview Lab → · Contrast checker → · Palette generator →

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