#42B223#42B223

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

Color values

HEX#42B223
RGBrgb(66, 178, 35)
HSLhsl(107, 67%, 42%)
HSVhsv(107, 80%, 70%)
CMYKcmyk(62.9%, 0%, 80.3%, 30.2%)
CIE-LABlab(64.26, -56.33, 58.22)
CIE-LCHlch(64.26, 81.01, 134.05°)
OKLaboklab(67.33% -0.1546 0.1293)
OKLCHoklch(67.33% 0.202 140.1)
XYZxyz(18.4697, 33.1186, 7.0090)
Luminance0.3312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B223 #9323B2
analogous
#8AB223 #42B223 #23B24C
triadic
#42B223 #2342B2 #B22342
tetradic
#42B223 #238AB2 #9323B2 #B24C23
square
#42B223 #238AB2 #9323B2 #B24C23
split-complementary
#42B223 #4C23B2 #B2238A
monochromatic
#1C4C0F #2F7F19 #42B223 #5CD83A #87E26D

Accessibility & contrast

On white

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

On black

7.62
#42B223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B223
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B223#FFFFFF#000000##000000
##42B2231.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42b223;
/* rgb */ color: rgb(66, 178, 35);
/* oklch */ color: oklch(67.3% 0.202 140.1);
Tailwind
colors: {
  custom: {
    50: '#85ca6a',
    500: '#42b223',
    950: '#000000',
  },
}
SCSS
$custom: #42b223;
$custom-light: #85ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42b223",
  "rgb": {
    "r": 66,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 106.993,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67335,
    "c": 0.20151,
    "h": 140.1
  },
  "luminance": 0.3312
}

Semantic roles & 50–950 ramp

primary
#42B223
secondary
#B468C9
accent
#3EEAC5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B223

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

Preview Lab → · Contrast checker → · Palette generator →

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