#42B423#42B423

#42B423 is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.9% C 0.204 H 140.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#42B423
RGBrgb(66, 180, 35)
HSLhsl(107, 67%, 42%)
HSVhsv(107, 81%, 71%)
CMYKcmyk(63.3%, 0%, 80.6%, 29.4%)
CIE-LABlab(64.90, -57.02, 58.82)
CIE-LCHlch(64.90, 81.92, 134.11°)
OKLaboklab(67.87% -0.1565 0.1305)
OKLCHoklch(67.87% 0.204 140.2)
XYZxyz(18.8705, 33.9203, 7.1426)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B423 #9523B4
analogous
#8BB423 #42B423 #23B44C
triadic
#42B423 #2342B4 #B42342
tetradic
#42B423 #238BB4 #9523B4 #B44C23
square
#42B423 #238BB4 #9523B4 #B44C23
split-complementary
#42B423 #4C23B4 #B4238B
monochromatic
#1C4E0F #2F8119 #42B423 #5DD93B #87E36E

Accessibility & contrast

On white

2.70
#42B423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#42B423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B423
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B423#FFFFFF#000000##000000
##42B4231.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#31AE9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b423;
/* rgb */ color: rgb(66, 180, 35);
/* oklch */ color: oklch(67.9% 0.204 140.2);
Tailwind
colors: {
  custom: {
    50: '#85cb6b',
    500: '#42b423',
    950: '#000000',
  },
}
SCSS
$custom: #42b423;
$custom-light: #85cb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#42b423",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 35
  },
  "hsl": {
    "h": 107.172,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67867,
    "c": 0.20374,
    "h": 140.2
  },
  "luminance": 0.33922
}

Semantic roles & 50–950 ramp

primary
#42B423
secondary
#B569C9
accent
#3DEAC5
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B423

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

Preview Lab → · Contrast checker → · Palette generator →

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