#42B831#42B831

#42B831 is a light, highly saturated green. Relative luminance 0.357; OKLCH L 69.0% C 0.201 H 141.3°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#42B831
RGBrgb(66, 184, 49)
HSLhsl(112, 58%, 46%)
HSVhsv(112, 73%, 72%)
CMYKcmyk(64.1%, 0%, 73.4%, 27.8%)
CIE-LABlab(66.26, -57.46, 55.56)
CIE-LCHlch(66.26, 79.93, 135.96°)
OKLaboklab(69.02% -0.1569 0.1256)
OKLCHoklch(69.02% 0.201 141.3)
XYZxyz(19.9406, 35.6590, 8.7372)
Luminance0.3566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B831 #A731B8
analogous
#86B831 #42B831 #31B863
triadic
#42B831 #3142B8 #B83142
tetradic
#42B831 #3186B8 #A731B8 #B86331
square
#42B831 #3186B8 #A731B8 #B86331
split-complementary
#42B831 #6331B8 #B83186
monochromatic
#1F5717 #318824 #42B831 #64D255 #90DE85

Accessibility & contrast

On white

2.58
#42B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#42B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B831
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B831#FFFFFF#000000##000000
##42B8311.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#AE9D3F
Tritanopia (blue-blind)
#2DB29E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #42b831;
/* rgb */ color: rgb(66, 184, 49);
/* oklch */ color: oklch(69.0% 0.201 141.3);
Tailwind
colors: {
  custom: {
    50: '#85ce72',
    500: '#42b831',
    950: '#000000',
  },
}
SCSS
$custom: #42b831;
$custom-light: #85ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#42b831",
  "rgb": {
    "r": 66,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 112.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69017,
    "c": 0.20103,
    "h": 141.3
  },
  "luminance": 0.35661
}

Semantic roles & 50–950 ramp

primary
#42B831
secondary
#BE7DC8
accent
#47E1CE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #42B831

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

Preview Lab → · Contrast checker → · Palette generator →

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