#42B530#42B530

#42B530 is a light, vivid green. Relative luminance 0.344; OKLCH L 68.2% C 0.198 H 141.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#42B530
RGBrgb(66, 181, 48)
HSLhsl(112, 58%, 45%)
HSVhsv(112, 73%, 71%)
CMYKcmyk(63.5%, 0%, 73.5%, 29%)
CIE-LABlab(65.29, -56.50, 54.95)
CIE-LCHlch(65.29, 78.81, 135.80°)
OKLaboklab(68.22% -0.1544 0.1242)
OKLCHoklch(68.22% 0.198 141.2)
XYZxyz(19.3032, 34.4175, 8.4217)
Luminance0.3442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B530 #A330B5
analogous
#84B530 #42B530 #30B561
triadic
#42B530 #3042B5 #B53042
tetradic
#42B530 #3084B5 #A330B5 #B56130
square
#42B530 #3084B5 #A330B5 #B56130
split-complementary
#42B530 #6130B5 #B53084
monochromatic
#1F5416 #308523 #42B530 #63D151 #8EDE82

Accessibility & contrast

On white

2.66
#42B530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#42B530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B530
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B530#FFFFFF#000000##000000
##42B5301.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA417
Deuteranopia (green-blind)
#AC9B3E
Tritanopia (blue-blind)
#2EAF9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42b530;
/* rgb */ color: rgb(66, 181, 48);
/* oklch */ color: oklch(68.2% 0.198 141.2);
Tailwind
colors: {
  custom: {
    50: '#85cc71',
    500: '#42b530',
    950: '#000000',
  },
}
SCSS
$custom: #42b530;
$custom-light: #85cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#42b530",
  "rgb": {
    "r": 66,
    "g": 181,
    "b": 48
  },
  "hsl": {
    "h": 111.88,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68215,
    "c": 0.19815,
    "h": 141.2
  },
  "luminance": 0.34419
}

Semantic roles & 50–950 ramp

primary
#42B530
secondary
#BC7AC7
accent
#46E1CC
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B530

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

Preview Lab → · Contrast checker → · Palette generator →

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