#42B331#42B331

#42B331 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.7% C 0.195 H 141.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#42B331
RGBrgb(66, 179, 49)
HSLhsl(112, 57%, 45%)
HSVhsv(112, 73%, 70%)
CMYKcmyk(63.1%, 0%, 72.6%, 29.8%)
CIE-LABlab(64.66, -55.72, 53.94)
CIE-LCHlch(64.66, 77.55, 135.93°)
OKLaboklab(67.69% -0.1522 0.1222)
OKLCHoklch(67.69% 0.195 141.2)
XYZxyz(18.9203, 33.6184, 8.3970)
Luminance0.3362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B331 #A231B3
analogous
#83B331 #42B331 #31B361
triadic
#42B331 #3142B3 #B33142
tetradic
#42B331 #3183B3 #A231B3 #B36131
square
#42B331 #3183B3 #A231B3 #B36131
split-complementary
#42B331 #6131B3 #B33183
monochromatic
#1F5317 #308324 #42B331 #62D052 #8EDD82

Accessibility & contrast

On white

2.72
#42B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#42B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B331
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B331#FFFFFF#000000##000000
##42B3311.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A21A
Deuteranopia (green-blind)
#AA993E
Tritanopia (blue-blind)
#2FAD9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b331;
/* rgb */ color: rgb(66, 179, 49);
/* oklch */ color: oklch(67.7% 0.195 141.2);
Tailwind
colors: {
  custom: {
    50: '#84cb71',
    500: '#42b331',
    950: '#000000',
  },
}
SCSS
$custom: #42b331;
$custom-light: #84cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#42b331",
  "rgb": {
    "r": 66,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 112.154,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67693,
    "c": 0.19524,
    "h": 141.2
  },
  "luminance": 0.3362
}

Semantic roles & 50–950 ramp

primary
#42B331
secondary
#BC7AC6
accent
#48E0CC
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B331

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

Preview Lab → · Contrast checker → · Palette generator →

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