#42B023#42B023

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

Color values

HEX#42B023
RGBrgb(66, 176, 35)
HSLhsl(107, 67%, 41%)
HSVhsv(107, 80%, 69%)
CMYKcmyk(62.5%, 0%, 80.1%, 31%)
CIE-LABlab(63.61, -55.63, 57.62)
CIE-LCHlch(63.61, 80.09, 134.00°)
OKLaboklab(66.8% -0.1527 0.128)
OKLCHoklch(66.8% 0.199 140)
XYZxyz(18.0746, 32.3285, 6.8773)
Luminance0.3233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B023 #9123B0
analogous
#89B023 #42B023 #23B04B
triadic
#42B023 #2342B0 #B02342
tetradic
#42B023 #2389B0 #9123B0 #B04B23
square
#42B023 #2389B0 #9123B0 #B04B23
split-complementary
#42B023 #4B23B0 #B02389
monochromatic
#1C4A0F #2F7D19 #42B023 #5CD839 #86E26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #42b023;
/* rgb */ color: rgb(66, 176, 35);
/* oklch */ color: oklch(66.8% 0.199 140.0);
Tailwind
colors: {
  custom: {
    50: '#84c96a',
    500: '#42b023',
    950: '#000000',
  },
}
SCSS
$custom: #42b023;
$custom-light: #84c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#42b023",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 106.809,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.19927,
    "h": 140
  },
  "luminance": 0.3233
}

Semantic roles & 50–950 ramp

primary
#42B023
secondary
#B367C8
accent
#3EEAC4
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B023

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

Preview Lab → · Contrast checker → · Palette generator →

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