#42B645#42B645

#42B645 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.7% C 0.185 H 143.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#42B645
RGBrgb(66, 182, 69)
HSLhsl(122, 47%, 49%)
HSVhsv(122, 64%, 71%)
CMYKcmyk(63.7%, 0%, 62.1%, 28.6%)
CIE-LABlab(65.78, -54.87, 46.91)
CIE-LCHlch(65.78, 72.19, 139.47°)
OKLaboklab(68.67% -0.1489 0.1097)
OKLCHoklch(68.67% 0.185 143.6)
XYZxyz(20.0477, 35.0418, 11.3363)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B645 #B642B3
analogous
#79B642 #42B645 #42B67F
triadic
#42B645 #4542B6 #B64542
tetradic
#42B645 #4279B6 #B642B3 #B67F42
square
#42B645 #4279B6 #B642B3 #B67F42
split-complementary
#42B645 #7F42B6 #B64279
monochromatic
#215C23 #328934 #42B645 #6CCA6E #99DA9A

Accessibility & contrast

On white

2.62
#42B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#42B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B645
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B645#FFFFFF#000000##000000
##42B6451.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA638
Deuteranopia (green-blind)
#AB9C4E
Tritanopia (blue-blind)
#29B19E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #42b645;
/* rgb */ color: rgb(66, 182, 69);
/* oklch */ color: oklch(68.7% 0.185 143.6);
Tailwind
colors: {
  custom: {
    50: '#84cd7d',
    500: '#42b645',
    950: '#000000',
  },
}
SCSS
$custom: #42b645;
$custom-light: #84cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#42b645",
  "rgb": {
    "r": 66,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 121.552,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.68674,
    "c": 0.18495,
    "h": 143.6
  },
  "luminance": 0.35044
}

Semantic roles & 50–950 ramp

primary
#42B645
secondary
#C68EC4
accent
#51D3D6
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #42B645

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

Preview Lab → · Contrast checker → · Palette generator →

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