#42B335#42B335

#42B335 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.7% C 0.193 H 141.6°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#42B335
RGBrgb(66, 179, 53)
HSLhsl(114, 54%, 45%)
HSVhsv(114, 70%, 70%)
CMYKcmyk(63.1%, 0%, 70.4%, 29.8%)
CIE-LABlab(64.69, -55.39, 52.44)
CIE-LCHlch(64.69, 76.28, 136.57°)
OKLaboklab(67.73% -0.1511 0.1196)
OKLCHoklch(67.73% 0.193 141.6)
XYZxyz(19.0085, 33.6536, 8.8615)
Luminance0.3366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B335 #A635B3
analogous
#81B335 #42B335 #35B367
triadic
#42B335 #3542B3 #B33542
tetradic
#42B335 #3581B3 #A635B3 #B36735
square
#42B335 #3581B3 #A635B3 #B36735
split-complementary
#42B335 #6735B3 #B33581
monochromatic
#1F5519 #318427 #42B335 #64CD58 #90DB87

Accessibility & contrast

On white

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

On black

7.73
#42B335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B335
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B335#FFFFFF#000000##000000
##42B3351.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A321
Deuteranopia (green-blind)
#AA9941
Tritanopia (blue-blind)
#2EAE9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b335;
/* rgb */ color: rgb(66, 179, 53);
/* oklch */ color: oklch(67.7% 0.193 141.6);
Tailwind
colors: {
  custom: {
    50: '#84cb73',
    500: '#42b335',
    950: '#000000',
  },
}
SCSS
$custom: #42b335;
$custom-light: #84cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#42b335",
  "rgb": {
    "r": 66,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 113.81,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67725,
    "c": 0.19274,
    "h": 141.6
  },
  "luminance": 0.33655
}

Semantic roles & 50–950 ramp

primary
#42B335
secondary
#BE7FC5
accent
#4ADECE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B335

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

Preview Lab → · Contrast checker → · Palette generator →

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