#B3CC42#B3CC42

#B3CC42 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 80.1% C 0.162 H 119.1°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#B3CC42
RGBrgb(179, 204, 66)
HSLhsl(71, 58%, 53%)
HSVhsv(71, 68%, 80%)
CMYKcmyk(12.3%, 0%, 67.6%, 20%)
CIE-LABlab(77.97, -26.74, 62.92)
CIE-LCHlch(77.97, 68.37, 113.03°)
OKLaboklab(80.09% -0.0788 0.1416)
OKLCHoklch(80.09% 0.162 119.1)
XYZxyz(41.1674, 53.1630, 13.2460)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3CC42 #5B42CC
analogous
#CCA042 #B3CC42 #6ECC42
triadic
#B3CC42 #42B3CC #CC42B3
tetradic
#B3CC42 #42CCA0 #5B42CC #CC426E
square
#B3CC42 #42CCA0 #5B42CC #CC426E
split-complementary
#B3CC42 #426ECC #A042CC
monochromatic
#65741F #8FA42C #B3CC42 #C6D972 #DAE6A2

Accessibility & contrast

On white

1.81
#B3CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#B3CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3CC42
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3CC42#FFFFFF#000000##000000
##B3CC421.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#BDC1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b3cc42;
/* rgb */ color: rgb(179, 204, 66);
/* oklch */ color: oklch(80.1% 0.162 119.1);
Tailwind
colors: {
  custom: {
    50: '#cddb7e',
    500: '#b3cc42',
    950: '#000000',
  },
}
SCSS
$custom: #b3cc42;
$custom-light: #cddb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3cc42",
  "rgb": {
    "r": 179,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 70.87,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80093,
    "c": 0.16208,
    "h": 119.1
  },
  "luminance": 0.53163
}

Semantic roles & 50–950 ramp

primary
#B3CC42
secondary
#42357D
accent
#47E163
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B3CC42

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

Preview Lab → · Contrast checker → · Palette generator →

#B3CC42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva