#42B751#42B751

#42B751 is a light, vivid green. Relative luminance 0.356; OKLCH L 69.1% C 0.176 H 145.5°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#42B751
RGBrgb(66, 183, 81)
HSLhsl(128, 47%, 49%)
HSVhsv(128, 64%, 72%)
CMYKcmyk(63.9%, 0%, 55.7%, 28.2%)
CIE-LABlab(66.23, -53.77, 41.87)
CIE-LCHlch(66.23, 68.15, 142.09°)
OKLaboklab(69.08% -0.1454 0.0998)
OKLCHoklch(69.08% 0.176 145.5)
XYZxyz(20.6641, 35.6172, 13.5688)
Luminance0.3562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B751 #B742A8
analogous
#6EB742 #42B751 #42B78C
triadic
#42B751 #5142B7 #B75142
tetradic
#42B751 #426EB7 #B742A8 #B78C42
square
#42B751 #426EB7 #B742A8 #B78C42
split-complementary
#42B751 #8C42B7 #B7426E
monochromatic
#225D29 #328A3D #42B751 #6CCA78 #99DAA1

Accessibility & contrast

On white

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

On black

8.12
#42B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B751
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B751#FFFFFF#000000##000000
##42B7511.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA747
Deuteranopia (green-blind)
#AB9D59
Tritanopia (blue-blind)
#24B3A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #42b751;
/* rgb */ color: rgb(66, 183, 81);
/* oklch */ color: oklch(69.1% 0.176 145.5);
Tailwind
colors: {
  custom: {
    50: '#84ce84',
    500: '#42b751',
    950: '#000000',
  },
}
SCSS
$custom: #42b751;
$custom-light: #84ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#42b751",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 127.692,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69083,
    "c": 0.17639,
    "h": 145.5
  },
  "luminance": 0.35619
}

Semantic roles & 50–950 ramp

primary
#42B751
secondary
#C68FBF
accent
#51C6D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #42B751

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

Preview Lab → · Contrast checker → · Palette generator →

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