#42B024#42B024

#42B024 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.8% C 0.199 H 140.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#42B024
RGBrgb(66, 176, 36)
HSLhsl(107, 66%, 42%)
HSVhsv(107, 80%, 69%)
CMYKcmyk(62.5%, 0%, 79.5%, 31%)
CIE-LABlab(63.62, -55.58, 57.32)
CIE-LCHlch(63.62, 79.84, 134.12°)
OKLaboklab(66.81% -0.1525 0.1275)
OKLCHoklch(66.81% 0.199 140.1)
XYZxyz(18.0897, 32.3346, 6.9566)
Luminance0.3234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B024 #9224B0
analogous
#88B024 #42B024 #24B04C
triadic
#42B024 #2442B0 #B02442
tetradic
#42B024 #2488B0 #9224B0 #B04C24
square
#42B024 #2488B0 #9224B0 #B04C24
split-complementary
#42B024 #4C24B0 #B02488
monochromatic
#1C4A0F #2F7D1A #42B024 #5CD73A #86E16D

Accessibility & contrast

On white

2.81
#42B024 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#42B024 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B024
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B024#FFFFFF#000000##000000
##42B0241.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#32AA96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42b024;
/* rgb */ color: rgb(66, 176, 36);
/* oklch */ color: oklch(66.8% 0.199 140.1);
Tailwind
colors: {
  custom: {
    50: '#84c96b',
    500: '#42b024',
    950: '#000000',
  },
}
SCSS
$custom: #42b024;
$custom-light: #84c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#42b024",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 36
  },
  "hsl": {
    "h": 107.143,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66808,
    "c": 0.1988,
    "h": 140.1
  },
  "luminance": 0.32336
}

Semantic roles & 50–950 ramp

primary
#42B024
secondary
#B368C8
accent
#3FE9C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B024

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

Preview Lab → · Contrast checker → · Palette generator →

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