#42B124#42B124

#42B124 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.1% C 0.200 H 140.1°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#42B124
RGBrgb(66, 177, 36)
HSLhsl(107, 66%, 42%)
HSVhsv(107, 80%, 69%)
CMYKcmyk(62.7%, 0%, 79.7%, 30.6%)
CIE-LABlab(63.94, -55.92, 57.62)
CIE-LCHlch(63.94, 80.30, 134.14°)
OKLaboklab(67.07% -0.1535 0.1281)
OKLCHoklch(67.07% 0.2 140.1)
XYZxyz(18.2865, 32.7282, 7.0222)
Luminance0.3273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B124 #9324B1
analogous
#89B124 #42B124 #24B14D
triadic
#42B124 #2442B1 #B12442
tetradic
#42B124 #2489B1 #9324B1 #B14D24
square
#42B124 #2489B1 #9324B1 #B14D24
split-complementary
#42B124 #4D24B1 #B12489
monochromatic
#1C4B0F #2F7E1A #42B124 #5CD73B #87E16E

Accessibility & contrast

On white

2.78
#42B124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#42B124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B124
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B124#FFFFFF#000000##000000
##42B1241.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#32AB97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42b124;
/* rgb */ color: rgb(66, 177, 36);
/* oklch */ color: oklch(67.1% 0.200 140.1);
Tailwind
colors: {
  custom: {
    50: '#84c96b',
    500: '#42b124',
    950: '#000000',
  },
}
SCSS
$custom: #42b124;
$custom-light: #84c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#42b124",
  "rgb": {
    "r": 66,
    "g": 177,
    "b": 36
  },
  "hsl": {
    "h": 107.234,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67074,
    "c": 0.19993,
    "h": 140.1
  },
  "luminance": 0.3273
}

Semantic roles & 50–950 ramp

primary
#42B124
secondary
#B469C8
accent
#3FE9C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B124

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

Preview Lab → · Contrast checker → · Palette generator →

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