#42BA31#42BA31

#42BA31 is a light, highly saturated green. Relative luminance 0.365; OKLCH L 69.5% C 0.203 H 141.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#42BA31
RGBrgb(66, 186, 49)
HSLhsl(113, 58%, 46%)
HSVhsv(113, 74%, 73%)
CMYKcmyk(64.5%, 0%, 73.7%, 27.1%)
CIE-LABlab(66.90, -58.15, 56.20)
CIE-LCHlch(66.90, 80.87, 135.97°)
OKLaboklab(69.55% -0.1588 0.127)
OKLCHoklch(69.55% 0.203 141.4)
XYZxyz(20.3590, 36.4958, 8.8766)
Luminance0.3650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BA31 #A931BA
analogous
#86BA31 #42BA31 #31BA64
triadic
#42BA31 #3142BA #BA3142
tetradic
#42BA31 #3186BA #A931BA #BA6431
square
#42BA31 #3186BA #A931BA #BA6431
split-complementary
#42BA31 #6431BA #BA3186
monochromatic
#205917 #318A24 #42BA31 #65D256 #91DF86

Accessibility & contrast

On white

2.53
#42BA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#42BA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BA31
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BA31#FFFFFF#000000##000000
##42BA311.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA917
Deuteranopia (green-blind)
#B09F3F
Tritanopia (blue-blind)
#2CB49F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42ba31;
/* rgb */ color: rgb(66, 186, 49);
/* oklch */ color: oklch(69.5% 0.203 141.4);
Tailwind
colors: {
  custom: {
    50: '#86d072',
    500: '#42ba31',
    950: '#000000',
  },
}
SCSS
$custom: #42ba31;
$custom-light: #86d072;
$custom-dark: #000000;
JSON
{
  "hex": "#42ba31",
  "rgb": {
    "r": 66,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 112.555,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69546,
    "c": 0.20332,
    "h": 141.4
  },
  "luminance": 0.36498
}

Semantic roles & 50–950 ramp

primary
#42BA31
secondary
#C07EC9
accent
#46E2CE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #42BA31

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

Preview Lab → · Contrast checker → · Palette generator →

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