#42C238#42C238

#42C238 is a light, highly saturated green. Relative luminance 0.400; OKLCH L 71.7% C 0.208 H 142.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#42C238
RGBrgb(66, 194, 56)
HSLhsl(116, 55%, 49%)
HSVhsv(116, 71%, 76%)
CMYKcmyk(66%, 0%, 71.1%, 23.9%)
CIE-LABlab(69.49, -60.32, 56.28)
CIE-LCHlch(69.49, 82.50, 136.98°)
OKLaboklab(71.71% -0.1643 0.128)
OKLCHoklch(71.71% 0.208 142.1)
XYZxyz(22.2511, 40.0251, 10.2936)
Luminance0.4003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C238 #B838C2
analogous
#87C238 #42C238 #38C273
triadic
#42C238 #3842C2 #C23842
tetradic
#42C238 #3887C2 #B838C2 #C27338
square
#42C238 #3887C2 #B838C2 #C27338
split-complementary
#42C238 #7338C2 #C23887
monochromatic
#22631D #32932A #42C238 #6DD265 #9AE094

Accessibility & contrast

On white

2.33
#42C238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#42C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C238
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C238#FFFFFF#000000##000000
##42C2381.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B021
Deuteranopia (green-blind)
#B7A646
Tritanopia (blue-blind)
#27BCA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c238;
/* rgb */ color: rgb(66, 194, 56);
/* oklch */ color: oklch(71.7% 0.208 142.1);
Tailwind
colors: {
  custom: {
    50: '#87d676',
    500: '#42c238',
    950: '#000000',
  },
}
SCSS
$custom: #42c238;
$custom-light: #87d676;
$custom-dark: #000000;
JSON
{
  "hex": "#42c238",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 115.652,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71706,
    "c": 0.20831,
    "h": 142.1
  },
  "luminance": 0.40027
}

Semantic roles & 50–950 ramp

primary
#42C238
secondary
#C78ACB
accent
#49DFD4
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1409
muted
#7E837B

Preview Lab

Preview with #42C238

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

Preview Lab → · Contrast checker → · Palette generator →

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