#42B022#42B022

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

Color values

HEX#42B022
RGBrgb(66, 176, 34)
HSLhsl(106, 68%, 41%)
HSVhsv(106, 81%, 69%)
CMYKcmyk(62.5%, 0%, 80.7%, 31%)
CIE-LABlab(63.61, -55.69, 57.91)
CIE-LCHlch(63.61, 80.34, 133.88°)
OKLaboklab(66.8% -0.1529 0.1285)
OKLCHoklch(66.8% 0.2 140)
XYZxyz(18.0600, 32.3227, 6.8002)
Luminance0.3232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B022 #9022B0
analogous
#89B022 #42B022 #22B049
triadic
#42B022 #2242B0 #B02242
tetradic
#42B022 #2289B0 #9022B0 #B04922
square
#42B022 #2289B0 #9022B0 #B04922
split-complementary
#42B022 #4922B0 #B02289
monochromatic
#1C490E #2F7D18 #42B022 #5BD837 #85E26A

Accessibility & contrast

On white

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

On black

7.46
#42B022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B022
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B022#FFFFFF#000000##000000
##42B0221.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42b022;
/* rgb */ color: rgb(66, 176, 34);
/* oklch */ color: oklch(66.8% 0.200 140.0);
Tailwind
colors: {
  custom: {
    50: '#84c96a',
    500: '#42b022',
    950: '#000000',
  },
}
SCSS
$custom: #42b022;
$custom-light: #84c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#42b022",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 34
  },
  "hsl": {
    "h": 106.479,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66797,
    "c": 0.19972,
    "h": 140
  },
  "luminance": 0.32324
}

Semantic roles & 50–950 ramp

primary
#42B022
secondary
#B266C8
accent
#3DEAC3
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B022

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

Preview Lab → · Contrast checker → · Palette generator →

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