#42B949#42B949

#42B949 is a light, vivid green. Relative luminance 0.363; OKLCH L 69.5% C 0.186 H 144.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#42B949
RGBrgb(66, 185, 73)
HSLhsl(124, 47%, 49%)
HSVhsv(124, 64%, 73%)
CMYKcmyk(64.3%, 0%, 60.5%, 27.5%)
CIE-LABlab(66.78, -55.49, 46.25)
CIE-LCHlch(66.78, 72.24, 140.19°)
OKLaboklab(69.51% -0.1504 0.1087)
OKLCHoklch(69.51% 0.186 144.2)
XYZxyz(20.7971, 36.3351, 12.2194)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B949 #B942B2
analogous
#77B942 #42B949 #42B984
triadic
#42B949 #4942B9 #B94942
tetradic
#42B949 #4277B9 #B942B2 #B98442
square
#42B949 #4277B9 #B942B2 #B98442
split-complementary
#42B949 #8442B9 #B94277
monochromatic
#225F25 #328C37 #42B949 #6DCB73 #9ADB9E

Accessibility & contrast

On white

2.54
#42B949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#42B949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B949
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B949#FFFFFF#000000##000000
##42B9491.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA93D
Deuteranopia (green-blind)
#AE9F52
Tritanopia (blue-blind)
#26B4A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #42b949;
/* rgb */ color: rgb(66, 185, 73);
/* oklch */ color: oklch(69.5% 0.186 144.2);
Tailwind
colors: {
  custom: {
    50: '#84cf80',
    500: '#42b949',
    950: '#000000',
  },
}
SCSS
$custom: #42b949;
$custom-light: #84cf80;
$custom-dark: #000000;
JSON
{
  "hex": "#42b949",
  "rgb": {
    "r": 66,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 123.529,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69508,
    "c": 0.18554,
    "h": 144.2
  },
  "luminance": 0.36337
}

Semantic roles & 50–950 ramp

primary
#42B949
secondary
#C790C4
accent
#51CFD7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #42B949

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

Preview Lab → · Contrast checker → · Palette generator →

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