#42B026#42B026

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

Color values

HEX#42B026
RGBrgb(66, 176, 38)
HSLhsl(108, 64%, 42%)
HSVhsv(108, 78%, 69%)
CMYKcmyk(62.5%, 0%, 78.4%, 31%)
CIE-LABlab(63.63, -55.45, 56.71)
CIE-LCHlch(63.63, 79.31, 134.36°)
OKLaboklab(66.82% -0.1521 0.1265)
OKLCHoklch(66.82% 0.198 140.2)
XYZxyz(18.1211, 32.3471, 7.1220)
Luminance0.3235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B026 #9426B0
analogous
#87B026 #42B026 #26B04F
triadic
#42B026 #2642B0 #B02642
tetradic
#42B026 #2687B0 #9426B0 #B04F26
square
#42B026 #2687B0 #9426B0 #B04F26
split-complementary
#42B026 #4F26B0 #B02687
monochromatic
#1C4B10 #2F7E1B #42B026 #5DD53E #87E070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42B026#FFFFFF#000000##000000
##42B0261.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)
#A89736
Tritanopia (blue-blind)
#32AA96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42b026;
/* rgb */ color: rgb(66, 176, 38);
/* oklch */ color: oklch(66.8% 0.198 140.2);
Tailwind
colors: {
  custom: {
    50: '#84c96b',
    500: '#42b026',
    950: '#000000',
  },
}
SCSS
$custom: #42b026;
$custom-light: #84c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#42b026",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 38
  },
  "hsl": {
    "h": 107.826,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6682,
    "c": 0.19784,
    "h": 140.2
  },
  "luminance": 0.32349
}

Semantic roles & 50–950 ramp

primary
#42B026
secondary
#B46BC7
accent
#40E7C6
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B026

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

Preview Lab → · Contrast checker → · Palette generator →

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