#42A663#42A663

#42A663 is a light, vivid green. Relative luminance 0.293; OKLCH L 64.9% C 0.137 H 151.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#42A663
RGBrgb(66, 166, 99)
HSLhsl(140, 43%, 45%)
HSVhsv(140, 60%, 65%)
CMYKcmyk(60.2%, 0%, 40.4%, 34.9%)
CIE-LABlab(61.07, -44.36, 26.24)
CIE-LCHlch(61.07, 51.54, 149.40°)
OKLaboklab(64.92% -0.12 0.0652)
OKLCHoklch(64.92% 0.137 151.5)
XYZxyz(18.1337, 29.3298, 16.5075)
Luminance0.2933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A663 #A64285
analogous
#53A642 #42A663 #42A695
triadic
#42A663 #6342A6 #A66342
tetradic
#42A663 #4253A6 #A64285 #A69542
square
#42A663 #4253A6 #A64285 #A69542
split-complementary
#42A663 #9542A6 #A64253
monochromatic
#1F4E2F #317A49 #42A663 #64C183 #90D3A6

Accessibility & contrast

On white

3.06
#42A663 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#42A663 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A663
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A663#FFFFFF#000000##000000
##42A6631.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7995E
Deuteranopia (green-blind)
#999067
Tritanopia (blue-blind)
#23A495
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #42a663;
/* rgb */ color: rgb(66, 166, 99);
/* oklch */ color: oklch(64.9% 0.137 151.5);
Tailwind
colors: {
  custom: {
    50: '#80c190',
    500: '#42a663',
    950: '#000000',
  },
}
SCSS
$custom: #42a663;
$custom-light: #80c190;
$custom-dark: #000000;
JSON
{
  "hex": "#42a663",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 99
  },
  "hsl": {
    "h": 139.8,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6492,
    "c": 0.13661,
    "h": 151.5
  },
  "luminance": 0.29332
}

Semantic roles & 50–950 ramp

primary
#42A663
secondary
#BE86AB
accent
#55A9D3
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #42A663

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

Preview Lab → · Contrast checker → · Palette generator →

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