#42B321#42B321

#42B321 is a light, highly saturated green. Relative luminance 0.335; OKLCH L 67.6% C 0.204 H 140.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#42B321
RGBrgb(66, 179, 33)
HSLhsl(106, 69%, 42%)
HSVhsv(106, 82%, 70%)
CMYKcmyk(63.1%, 0%, 81.6%, 29.8%)
CIE-LABlab(64.57, -56.78, 59.08)
CIE-LCHlch(64.57, 81.95, 133.86°)
OKLaboklab(67.59% -0.1559 0.1308)
OKLCHoklch(67.59% 0.204 140)
XYZxyz(18.6405, 33.5065, 6.9236)
Luminance0.3351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B321 #9221B3
analogous
#8BB321 #42B321 #21B349
triadic
#42B321 #2142B3 #B32142
tetradic
#42B321 #218BB3 #9221B3 #B34921
square
#42B321 #218BB3 #9221B3 #B34921
split-complementary
#42B321 #4921B3 #B3218B
monochromatic
#1C4C0E #2F7F17 #42B321 #5CDA37 #86E46B

Accessibility & contrast

On white

2.73
#42B321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#42B321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B321
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B321#FFFFFF#000000##000000
##42B3211.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#31AD99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b321;
/* rgb */ color: rgb(66, 179, 33);
/* oklch */ color: oklch(67.6% 0.204 140.0);
Tailwind
colors: {
  custom: {
    50: '#85cb6a',
    500: '#42b321',
    950: '#000000',
  },
}
SCSS
$custom: #42b321;
$custom-light: #85cb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42b321",
  "rgb": {
    "r": 66,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 106.438,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6759,
    "c": 0.20351,
    "h": 140
  },
  "luminance": 0.33508
}

Semantic roles & 50–950 ramp

primary
#42B321
secondary
#B366CA
accent
#3CECC4
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B321

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

Preview Lab → · Contrast checker → · Palette generator →

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