#42A863#42A863

#42A863 is a light, vivid green. Relative luminance 0.301; OKLCH L 65.4% C 0.139 H 151.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#42A863
RGBrgb(66, 168, 99)
HSLhsl(139, 44%, 46%)
HSVhsv(139, 61%, 66%)
CMYKcmyk(60.7%, 0%, 41.1%, 34.1%)
CIE-LABlab(61.71, -45.18, 27.07)
CIE-LCHlch(61.71, 52.67, 149.07°)
OKLaboklab(65.44% -0.1222 0.0672)
OKLCHoklch(65.44% 0.139 151.2)
XYZxyz(18.5001, 30.0626, 16.6297)
Luminance0.3006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A863 #A84287
analogous
#54A842 #42A863 #42A896
triadic
#42A863 #6342A8 #A86342
tetradic
#42A863 #4254A8 #A84287 #A89642
square
#42A863 #4254A8 #A84287 #A89642
split-complementary
#42A863 #9642A8 #A84254
monochromatic
#1F502F #317C49 #42A863 #65C283 #91D4A6

Accessibility & contrast

On white

2.99
#42A863 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#42A863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A863
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A863#FFFFFF#000000##000000
##42A8631.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99B5E
Deuteranopia (green-blind)
#9B9168
Tritanopia (blue-blind)
#22A597
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #42a863;
/* rgb */ color: rgb(66, 168, 99);
/* oklch */ color: oklch(65.4% 0.139 151.2);
Tailwind
colors: {
  custom: {
    50: '#80c390',
    500: '#42a863',
    950: '#000000',
  },
}
SCSS
$custom: #42a863;
$custom-light: #80c390;
$custom-dark: #000000;
JSON
{
  "hex": "#42a863",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 99
  },
  "hsl": {
    "h": 139.412,
    "s": 43.59,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65443,
    "c": 0.13945,
    "h": 151.2
  },
  "luminance": 0.30064
}

Semantic roles & 50–950 ramp

primary
#42A863
secondary
#BF87AD
accent
#54AAD3
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #42A863

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

Preview Lab → · Contrast checker → · Palette generator →

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