#42B248#42B248

#42B248 is a light, vivid green. Relative luminance 0.335; OKLCH L 67.7% C 0.178 H 144.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#42B248
RGBrgb(66, 178, 72)
HSLhsl(123, 46%, 48%)
HSVhsv(123, 63%, 70%)
CMYKcmyk(62.9%, 0%, 59.6%, 30.2%)
CIE-LABlab(64.54, -53.07, 44.12)
CIE-LCHlch(64.54, 69.02, 140.26°)
OKLaboklab(67.66% -0.1439 0.104)
OKLCHoklch(67.66% 0.178 144.1)
XYZxyz(19.3357, 33.4650, 11.5701)
Luminance0.3347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B248 #B242AC
analogous
#74B242 #42B248 #42B280
triadic
#42B248 #4842B2 #B24842
tetradic
#42B248 #4274B2 #B242AC #B28042
square
#42B248 #4274B2 #B242AC #B28042
split-complementary
#42B248 #8042B2 #B24274
monochromatic
#215924 #318536 #42B248 #6AC86F #96D89A

Accessibility & contrast

On white

2.73
#42B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#42B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B248
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B248#FFFFFF#000000##000000
##42B2481.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23D
Deuteranopia (green-blind)
#A79951
Tritanopia (blue-blind)
#29AD9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42b248;
/* rgb */ color: rgb(66, 178, 72);
/* oklch */ color: oklch(67.7% 0.178 144.1);
Tailwind
colors: {
  custom: {
    50: '#83ca7e',
    500: '#42b248',
    950: '#000000',
  },
}
SCSS
$custom: #42b248;
$custom-light: #83ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#42b248",
  "rgb": {
    "r": 66,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 123.214,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.67655,
    "c": 0.17753,
    "h": 144.1
  },
  "luminance": 0.33467
}

Semantic roles & 50–950 ramp

primary
#42B248
secondary
#C48CC1
accent
#52CFD6
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #42B248

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

Preview Lab → · Contrast checker → · Palette generator →

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