#42C262#42C262

#42C262 is a light, vivid green. Relative luminance 0.406; OKLCH L 72.2% C 0.176 H 148.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#42C262
RGBrgb(66, 194, 98)
HSLhsl(135, 51%, 51%)
HSVhsv(135, 66%, 76%)
CMYKcmyk(66%, 0%, 49.5%, 23.9%)
CIE-LABlab(69.91, -55.41, 38.07)
CIE-LCHlch(69.91, 67.23, 145.51°)
OKLaboklab(72.19% -0.1494 0.0924)
OKLCHoklch(72.19% 0.176 148.3)
XYZxyz(23.7414, 40.6212, 18.1424)
Luminance0.4062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C262 #C242A2
analogous
#62C242 #42C262 #42C2A2
triadic
#42C262 #6242C2 #C26242
tetradic
#42C262 #4262C2 #C242A2 #C2A242
square
#42C262 #4262C2 #C242A2 #C2A242
split-complementary
#42C262 #A242C2 #C24262
monochromatic
#226833 #31964A #42C262 #70D188 #9FE0AF

Accessibility & contrast

On white

2.30
#42C262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#42C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C262
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C262#FFFFFF#000000##000000
##42C2621.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B25A
Deuteranopia (green-blind)
#B4A669
Tritanopia (blue-blind)
#10BEAC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c262;
/* rgb */ color: rgb(66, 194, 98);
/* oklch */ color: oklch(72.2% 0.176 148.3);
Tailwind
colors: {
  custom: {
    50: '#85d590',
    500: '#42c262',
    950: '#000000',
  },
}
SCSS
$custom: #42c262;
$custom-light: #85d590;
$custom-dark: #000000;
JSON
{
  "hex": "#42c262",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 135,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72191,
    "c": 0.17567,
    "h": 148.3
  },
  "luminance": 0.40624
}

Semantic roles & 50–950 ramp

primary
#42C262
secondary
#CC94BE
accent
#4DB7DB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140D
muted
#7D837D

Preview Lab

Preview with #42C262

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

Preview Lab → · Contrast checker → · Palette generator →

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