#42B048#42B048

#42B048 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.1% C 0.175 H 144.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#42B048
RGBrgb(66, 176, 72)
HSLhsl(123, 45%, 47%)
HSVhsv(123, 63%, 69%)
CMYKcmyk(62.5%, 0%, 59.1%, 31%)
CIE-LABlab(63.90, -52.33, 43.38)
CIE-LCHlch(63.90, 67.98, 140.34°)
OKLaboklab(67.13% -0.1419 0.1024)
OKLCHoklch(67.13% 0.175 144.2)
XYZxyz(18.9407, 32.6750, 11.4384)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B048 #B042AA
analogous
#73B042 #42B048 #42B07F
triadic
#42B048 #4842B0 #B04842
tetradic
#42B048 #4273B0 #B042AA #B07F42
square
#42B048 #4273B0 #B042AA #B07F42
split-complementary
#42B048 #7F42B0 #B04273
monochromatic
#215724 #318336 #42B048 #69C76E #95D799

Accessibility & contrast

On white

2.79
#42B048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#42B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B048
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B048#FFFFFF#000000##000000
##42B0481.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A13D
Deuteranopia (green-blind)
#A69750
Tritanopia (blue-blind)
#2AAB99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42b048;
/* rgb */ color: rgb(66, 176, 72);
/* oklch */ color: oklch(67.1% 0.175 144.2);
Tailwind
colors: {
  custom: {
    50: '#83c87e',
    500: '#42b048',
    950: '#000000',
  },
}
SCSS
$custom: #42b048;
$custom-light: #83c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#42b048",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 123.273,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67127,
    "c": 0.17497,
    "h": 144.2
  },
  "luminance": 0.32677
}

Semantic roles & 50–950 ramp

primary
#42B048
secondary
#C38BC0
accent
#53CED5
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #42B048

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

Preview Lab → · Contrast checker → · Palette generator →

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