#42B266#42B266

#42B266 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.1% C 0.151 H 150.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#42B266
RGBrgb(66, 178, 102)
HSLhsl(139, 46%, 48%)
HSVhsv(139, 63%, 70%)
CMYKcmyk(62.9%, 0%, 42.7%, 30.2%)
CIE-LABlab(64.93, -48.66, 29.69)
CIE-LCHlch(64.93, 57.00, 148.61°)
OKLaboklab(68.11% -0.1314 0.0734)
OKLCHoklch(68.11% 0.151 150.8)
XYZxyz(20.5638, 33.9563, 18.0383)
Luminance0.3396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B266 #B2428E
analogous
#56B242 #42B266 #42B29E
triadic
#42B266 #6642B2 #B26642
tetradic
#42B266 #4256B2 #B2428E #B29E42
square
#42B266 #4256B2 #B2428E #B29E42
split-complementary
#42B266 #9E42B2 #B24256
monochromatic
#215933 #31854C #42B266 #6AC888 #96D8AB

Accessibility & contrast

On white

2.70
#42B266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#42B266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B266
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B266#FFFFFF#000000##000000
##42B2661.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A460
Deuteranopia (green-blind)
#A49A6B
Tritanopia (blue-blind)
#1AAF9F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42b266;
/* rgb */ color: rgb(66, 178, 102);
/* oklch */ color: oklch(68.1% 0.151 150.8);
Tailwind
colors: {
  custom: {
    50: '#82ca92',
    500: '#42b266',
    950: '#000000',
  },
}
SCSS
$custom: #42b266;
$custom-light: #82ca92;
$custom-dark: #000000;
JSON
{
  "hex": "#42b266",
  "rgb": {
    "r": 66,
    "g": 178,
    "b": 102
  },
  "hsl": {
    "h": 139.286,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68106,
    "c": 0.15053,
    "h": 150.8
  },
  "luminance": 0.33958
}

Semantic roles & 50–950 ramp

primary
#42B266
secondary
#C48CB2
accent
#52ABD6
background
#F8FCF9
surface
#F0F8F1
border
#CBD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #42B266

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

Preview Lab → · Contrast checker → · Palette generator →

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