#42B348#42B348

#42B348 is a light, vivid green. Relative luminance 0.339; OKLCH L 67.9% C 0.179 H 144.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#42B348
RGBrgb(66, 179, 72)
HSLhsl(123, 46%, 48%)
HSVhsv(123, 63%, 70%)
CMYKcmyk(63.1%, 0%, 59.8%, 29.8%)
CIE-LABlab(64.85, -53.44, 44.49)
CIE-LCHlch(64.85, 69.54, 140.22°)
OKLaboklab(67.92% -0.1449 0.1048)
OKLCHoklch(67.92% 0.179 144.1)
XYZxyz(19.5354, 33.8644, 11.6366)
Luminance0.3387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B348 #B342AD
analogous
#74B342 #42B348 #42B380
triadic
#42B348 #4842B3 #B34842
tetradic
#42B348 #4274B3 #B342AD #B38042
square
#42B348 #4274B3 #B342AD #B38042
split-complementary
#42B348 #8042B3 #B34274
monochromatic
#215A24 #328636 #42B348 #6AC86F #97D99A

Accessibility & contrast

On white

2.70
#42B348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#42B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B348
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B348#FFFFFF#000000##000000
##42B3481.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33D
Deuteranopia (green-blind)
#A89A51
Tritanopia (blue-blind)
#29AE9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b348;
/* rgb */ color: rgb(66, 179, 72);
/* oklch */ color: oklch(67.9% 0.179 144.1);
Tailwind
colors: {
  custom: {
    50: '#83cb7e',
    500: '#42b348',
    950: '#000000',
  },
}
SCSS
$custom: #42b348;
$custom-light: #83cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#42b348",
  "rgb": {
    "r": 66,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 123.186,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.67918,
    "c": 0.1788,
    "h": 144.1
  },
  "luminance": 0.33866
}

Semantic roles & 50–950 ramp

primary
#42B348
secondary
#C48CC1
accent
#52CFD6
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #42B348

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

Preview Lab → · Contrast checker → · Palette generator →

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