#42B224#42B224

#42B224 is a light, highly saturated green. Relative luminance 0.331; OKLCH L 67.3% C 0.201 H 140.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#42B224
RGBrgb(66, 178, 36)
HSLhsl(107, 66%, 42%)
HSVhsv(107, 80%, 70%)
CMYKcmyk(62.9%, 0%, 79.8%, 30.2%)
CIE-LABlab(64.26, -56.27, 57.93)
CIE-LCHlch(64.26, 80.76, 134.17°)
OKLaboklab(67.34% -0.1544 0.1288)
OKLCHoklch(67.34% 0.201 140.2)
XYZxyz(18.4847, 33.1246, 7.0883)
Luminance0.3313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B224 #9424B2
analogous
#89B224 #42B224 #24B24D
triadic
#42B224 #2442B2 #B22442
tetradic
#42B224 #2489B2 #9424B2 #B24D24
square
#42B224 #2489B2 #9424B2 #B24D24
split-complementary
#42B224 #4D24B2 #B22489
monochromatic
#1C4C0F #2F7F1A #42B224 #5DD83C #87E26F

Accessibility & contrast

On white

2.75
#42B224 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#42B224 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B224
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B224#FFFFFF#000000##000000
##42B2241.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#31AC98
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42b224;
/* rgb */ color: rgb(66, 178, 36);
/* oklch */ color: oklch(67.3% 0.201 140.2);
Tailwind
colors: {
  custom: {
    50: '#85ca6b',
    500: '#42b224',
    950: '#000000',
  },
}
SCSS
$custom: #42b224;
$custom-light: #85ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#42b224",
  "rgb": {
    "r": 66,
    "g": 178,
    "b": 36
  },
  "hsl": {
    "h": 107.324,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6734,
    "c": 0.20105,
    "h": 140.2
  },
  "luminance": 0.33126
}

Semantic roles & 50–950 ramp

primary
#42B224
secondary
#B469C8
accent
#3FE9C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B224

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

Preview Lab → · Contrast checker → · Palette generator →

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