#42B418#42B418

#42B418 is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.8% C 0.208 H 139.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#42B418
RGBrgb(66, 180, 24)
HSLhsl(104, 76%, 40%)
HSVhsv(104, 87%, 71%)
CMYKcmyk(63.3%, 0%, 86.7%, 29.4%)
CIE-LABlab(64.86, -57.54, 61.59)
CIE-LCHlch(64.86, 84.29, 133.05°)
OKLaboklab(67.82% -0.1583 0.1348)
OKLCHoklch(67.82% 0.208 139.6)
XYZxyz(18.7321, 33.8649, 6.4134)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B418 #8A18B4
analogous
#90B418 #42B418 #18B43C
triadic
#42B418 #1842B4 #B41842
tetradic
#42B418 #1890B4 #8A18B4 #B43C18
square
#42B418 #1890B4 #8A18B4 #B43C18
split-complementary
#42B418 #3C18B4 #B41890
monochromatic
#1A480A #2E7E11 #42B418 #59E227 #83E95D

Accessibility & contrast

On white

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

On black

7.77
#42B418 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B418
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B418#FFFFFF#000000##000000
##42B4181.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#32AE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b418;
/* rgb */ color: rgb(66, 180, 24);
/* oklch */ color: oklch(67.8% 0.208 139.6);
Tailwind
colors: {
  custom: {
    50: '#85cb67',
    500: '#42b418',
    950: '#000000',
  },
}
SCSS
$custom: #42b418;
$custom-light: #85cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#42b418",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 103.846,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67816,
    "c": 0.20797,
    "h": 139.6
  },
  "luminance": 0.33867
}

Semantic roles & 50–950 ramp

primary
#42B418
secondary
#AE5BCD
accent
#35F3C0
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B418

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

Preview Lab → · Contrast checker → · Palette generator →

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