#42B738#42B738

#42B738 is a light, vivid green. Relative luminance 0.353; OKLCH L 68.8% C 0.196 H 142.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#42B738
RGBrgb(66, 183, 56)
HSLhsl(115, 53%, 47%)
HSVhsv(115, 69%, 72%)
CMYKcmyk(63.9%, 0%, 69.4%, 28.2%)
CIE-LABlab(65.99, -56.53, 52.63)
CIE-LCHlch(65.99, 77.24, 137.05°)
OKLaboklab(68.81% -0.1541 0.1204)
OKLCHoklch(68.81% 0.196 142)
XYZxyz(19.8930, 35.3088, 9.5075)
Luminance0.3531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B738 #AD38B7
analogous
#81B738 #42B738 #38B76E
triadic
#42B738 #3842B7 #B73842
tetradic
#42B738 #3881B7 #AD38B7 #B76E38
square
#42B738 #3881B7 #AD38B7 #B76E38
split-complementary
#42B738 #6E38B7 #B73881
monochromatic
#20591B #31882A #42B738 #67CE5E #93DC8D

Accessibility & contrast

On white

2.60
#42B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#42B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B738
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B738#FFFFFF#000000##000000
##42B7381.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#AD9D44
Tritanopia (blue-blind)
#2CB19E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #42b738;
/* rgb */ color: rgb(66, 183, 56);
/* oklch */ color: oklch(68.8% 0.196 142.0);
Tailwind
colors: {
  custom: {
    50: '#85ce75',
    500: '#42b738',
    950: '#000000',
  },
}
SCSS
$custom: #42b738;
$custom-light: #85ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#42b738",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 115.276,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68809,
    "c": 0.19552,
    "h": 142
  },
  "luminance": 0.35311
}

Semantic roles & 50–950 ramp

primary
#42B738
secondary
#C184C7
accent
#4BDDD1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #42B738

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

Preview Lab → · Contrast checker → · Palette generator →

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