#42A124#42A124

#42A124 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.8% C 0.182 H 139.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#42A124
RGBrgb(66, 161, 36)
HSLhsl(106, 63%, 39%)
HSVhsv(106, 78%, 63%)
CMYKcmyk(59%, 0%, 77.6%, 36.9%)
CIE-LABlab(58.76, -50.21, 52.67)
CIE-LCHlch(58.76, 72.77, 133.63°)
OKLaboklab(62.79% -0.1381 0.1178)
OKLCHoklch(62.79% 0.182 139.5)
XYZxyz(15.3094, 26.7740, 6.0299)
Luminance0.2677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A124 #8324A1
analogous
#80A124 #42A124 #24A144
triadic
#42A124 #2442A1 #A12442
tetradic
#42A124 #2480A1 #8324A1 #A14424
square
#42A124 #2480A1 #8324A1 #A14424
split-complementary
#42A124 #4424A1 #A12480
monochromatic
#193D0E #2D6F19 #42A124 #58D131 #80DC63

Accessibility & contrast

On white

3.30
#42A124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#42A124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A124
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A124#FFFFFF#000000##000000
##42A1241.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69204
Deuteranopia (green-blind)
#9A8A32
Tritanopia (blue-blind)
#379B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a124;
/* rgb */ color: rgb(66, 161, 36);
/* oklch */ color: oklch(62.8% 0.182 139.5);
Tailwind
colors: {
  custom: {
    50: '#82be69',
    500: '#42a124',
    950: '#000000',
  },
}
SCSS
$custom: #42a124;
$custom-light: #82be69;
$custom-dark: #000000;
JSON
{
  "hex": "#42a124",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 105.6,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62794,
    "c": 0.18152,
    "h": 139.5
  },
  "luminance": 0.26775
}

Semantic roles & 50–950 ramp

primary
#42A124
secondary
#AA5FC2
accent
#41E6BF
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A124

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

Preview Lab → · Contrast checker → · Palette generator →

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