#42B438#42B438

#42B438 is a light, vivid green. Relative luminance 0.341; OKLCH L 68.0% C 0.192 H 142.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#42B438
RGBrgb(66, 180, 56)
HSLhsl(115, 53%, 46%)
HSVhsv(115, 69%, 71%)
CMYKcmyk(63.3%, 0%, 68.9%, 29.4%)
CIE-LABlab(65.03, -55.48, 51.62)
CIE-LCHlch(65.03, 75.78, 137.07°)
OKLaboklab(68.02% -0.1512 0.1183)
OKLCHoklch(68.02% 0.192 142)
XYZxyz(19.2808, 34.0844, 9.3035)
Luminance0.3409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B438 #AA38B4
analogous
#80B438 #42B438 #38B46C
triadic
#42B438 #3842B4 #B43842
tetradic
#42B438 #3880B4 #AA38B4 #B46C38
square
#42B438 #3880B4 #AA38B4 #B46C38
split-complementary
#42B438 #6C38B4 #B43880
monochromatic
#20571B #318529 #42B438 #66CD5D #92DB8B

Accessibility & contrast

On white

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

On black

7.82
#42B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B438
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B438#FFFFFF#000000##000000
##42B4381.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A426
Deuteranopia (green-blind)
#AA9A44
Tritanopia (blue-blind)
#2DAF9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42b438;
/* rgb */ color: rgb(66, 180, 56);
/* oklch */ color: oklch(68.0% 0.192 142.0);
Tailwind
colors: {
  custom: {
    50: '#84cb75',
    500: '#42b438',
    950: '#000000',
  },
}
SCSS
$custom: #42b438;
$custom-light: #84cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#42b438",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 115.161,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.68016,
    "c": 0.19196,
    "h": 142
  },
  "luminance": 0.34086
}

Semantic roles & 50–950 ramp

primary
#42B438
secondary
#C082C5
accent
#4CDCD0
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #42B438

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

Preview Lab → · Contrast checker → · Palette generator →

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