#42B338#42B338

#42B338 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.8% C 0.191 H 142.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#42B338
RGBrgb(66, 179, 56)
HSLhsl(115, 52%, 46%)
HSVhsv(115, 69%, 70%)
CMYKcmyk(63.1%, 0%, 68.7%, 29.8%)
CIE-LABlab(64.71, -55.12, 51.28)
CIE-LCHlch(64.71, 75.29, 137.07°)
OKLaboklab(67.75% -0.1502 0.1176)
OKLCHoklch(67.75% 0.191 142)
XYZxyz(19.0797, 33.6821, 9.2364)
Luminance0.3368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B338 #A938B3
analogous
#7FB338 #42B338 #38B36B
triadic
#42B338 #3842B3 #B33842
tetradic
#42B338 #387FB3 #A938B3 #B36B38
square
#42B338 #387FB3 #A938B3 #B36B38
split-complementary
#42B338 #6B38B3 #B3387F
monochromatic
#20561B #318429 #42B338 #65CC5C #91DB8B

Accessibility & contrast

On white

2.71
#42B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#42B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B338
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B338#FFFFFF#000000##000000
##42B3381.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A326
Deuteranopia (green-blind)
#A99944
Tritanopia (blue-blind)
#2DAE9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b338;
/* rgb */ color: rgb(66, 179, 56);
/* oklch */ color: oklch(67.8% 0.191 142.0);
Tailwind
colors: {
  custom: {
    50: '#84cb75',
    500: '#42b338',
    950: '#000000',
  },
}
SCSS
$custom: #42b338;
$custom-light: #84cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#42b338",
  "rgb": {
    "r": 66,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 115.122,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.67751,
    "c": 0.19076,
    "h": 142
  },
  "luminance": 0.33684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42B338

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

Preview Lab → · Contrast checker → · Palette generator →

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