#42B838#42B838

#42B838 is a light, vivid green. Relative luminance 0.357; OKLCH L 69.1% C 0.197 H 142.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#42B838
RGBrgb(66, 184, 56)
HSLhsl(115, 53%, 47%)
HSVhsv(115, 70%, 72%)
CMYKcmyk(64.1%, 0%, 69.6%, 27.8%)
CIE-LABlab(66.31, -56.88, 52.97)
CIE-LCHlch(66.31, 77.73, 137.04°)
OKLaboklab(69.07% -0.155 0.1211)
OKLCHoklch(69.07% 0.197 142)
XYZxyz(20.1000, 35.7228, 9.5765)
Luminance0.3573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B838 #AE38B8
analogous
#82B838 #42B838 #38B86E
triadic
#42B838 #3842B8 #B83842
tetradic
#42B838 #3882B8 #AE38B8 #B86E38
square
#42B838 #3882B8 #AE38B8 #B86E38
split-complementary
#42B838 #6E38B8 #B83882
monochromatic
#205A1B #31892A #42B838 #68CE5F #94DD8E

Accessibility & contrast

On white

2.58
#42B838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#42B838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B838
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B838#FFFFFF#000000##000000
##42B8381.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#AE9D44
Tritanopia (blue-blind)
#2BB29E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #42b838;
/* rgb */ color: rgb(66, 184, 56);
/* oklch */ color: oklch(69.1% 0.197 142.0);
Tailwind
colors: {
  custom: {
    50: '#85ce75',
    500: '#42b838',
    950: '#000000',
  },
}
SCSS
$custom: #42b838;
$custom-light: #85ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#42b838",
  "rgb": {
    "r": 66,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 115.313,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69073,
    "c": 0.19669,
    "h": 142
  },
  "luminance": 0.35725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42B838

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

Preview Lab → · Contrast checker → · Palette generator →

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