#42B431#42B431

#42B431 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.0% C 0.196 H 141.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#42B431
RGBrgb(66, 180, 49)
HSLhsl(112, 57%, 45%)
HSVhsv(112, 73%, 71%)
CMYKcmyk(63.3%, 0%, 72.8%, 29.4%)
CIE-LABlab(64.98, -56.07, 54.26)
CIE-LCHlch(64.98, 78.03, 135.94°)
OKLaboklab(67.96% -0.1532 0.1229)
OKLCHoklch(67.96% 0.196 141.3)
XYZxyz(19.1214, 34.0207, 8.4641)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B431 #A331B4
analogous
#83B431 #42B431 #31B462
triadic
#42B431 #3142B4 #B43142
tetradic
#42B431 #3183B4 #A331B4 #B46231
square
#42B431 #3183B4 #A331B4 #B46231
split-complementary
#42B431 #6231B4 #B43183
monochromatic
#1F5417 #308424 #42B431 #63D052 #8EDD82

Accessibility & contrast

On white

2.69
#42B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#42B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B431
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B431#FFFFFF#000000##000000
##42B4311.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A31A
Deuteranopia (green-blind)
#AB9A3E
Tritanopia (blue-blind)
#2FAE9A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42b431;
/* rgb */ color: rgb(66, 180, 49);
/* oklch */ color: oklch(68.0% 0.196 141.3);
Tailwind
colors: {
  custom: {
    50: '#84cb71',
    500: '#42b431',
    950: '#000000',
  },
}
SCSS
$custom: #42b431;
$custom-light: #84cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#42b431",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 112.214,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67958,
    "c": 0.19641,
    "h": 141.3
  },
  "luminance": 0.34023
}

Semantic roles & 50–950 ramp

primary
#42B431
secondary
#BC7BC6
accent
#47E0CD
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B431

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

Preview Lab → · Contrast checker → · Palette generator →

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