#42A751#42A751

#42A751 is a light, vivid green. Relative luminance 0.294; OKLCH L 64.9% C 0.155 H 146.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#42A751
RGBrgb(66, 167, 81)
HSLhsl(129, 43%, 46%)
HSVhsv(129, 60%, 65%)
CMYKcmyk(60.5%, 0%, 51.5%, 34.5%)
CIE-LABlab(61.12, -47.71, 35.69)
CIE-LCHlch(61.12, 59.58, 143.20°)
OKLaboklab(64.87% -0.1291 0.0861)
OKLCHoklch(64.87% 0.155 146.3)
XYZxyz(17.5496, 29.3881, 12.5306)
Luminance0.2939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A751 #A74298
analogous
#65A742 #42A751 #42A783
triadic
#42A751 #5142A7 #A75142
tetradic
#42A751 #4265A7 #A74298 #A78342
square
#42A751 #4265A7 #A74298 #A78342
split-complementary
#42A751 #8342A7 #A74265
monochromatic
#1F4F26 #317B3C #42A751 #64C272 #90D39A

Accessibility & contrast

On white

3.05
#42A751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#42A751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A751
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A751#FFFFFF#000000##000000
##42A7511.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994A
Deuteranopia (green-blind)
#9C9057
Tritanopia (blue-blind)
#2BA393
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #42a751;
/* rgb */ color: rgb(66, 167, 81);
/* oklch */ color: oklch(64.9% 0.155 146.3);
Tailwind
colors: {
  custom: {
    50: '#81c284',
    500: '#42a751',
    950: '#000000',
  },
}
SCSS
$custom: #42a751;
$custom-light: #81c284;
$custom-dark: #000000;
JSON
{
  "hex": "#42a751",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 128.911,
    "s": 43.348,
    "l": 45.686
  },
  "oklch": {
    "l": 0.64874,
    "c": 0.15517,
    "h": 146.3
  },
  "luminance": 0.2939
}

Semantic roles & 50–950 ramp

primary
#42A751
secondary
#BE86B6
accent
#55C0D3
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #42A751

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

Preview Lab → · Contrast checker → · Palette generator →

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