#B6CC40#B6CC40

#B6CC40 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.3% C 0.162 H 118.0°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#B6CC40
RGBrgb(182, 204, 64)
HSLhsl(69, 58%, 53%)
HSVhsv(69, 69%, 80%)
CMYKcmyk(10.8%, 0%, 68.6%, 20%)
CIE-LABlab(78.17, -25.64, 63.95)
CIE-LCHlch(78.17, 68.90, 111.85°)
OKLaboklab(80.3% -0.0761 0.1434)
OKLCHoklch(80.3% 0.162 118)
XYZxyz(41.8106, 53.5014, 12.9737)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6CC40 #5640CC
analogous
#CC9C40 #B6CC40 #70CC40
triadic
#B6CC40 #40B6CC #CC40B6
tetradic
#B6CC40 #40CC9C #5640CC #CC4070
square
#B6CC40 #40CC9C #5640CC #CC4070
split-complementary
#B6CC40 #4070CC #9C40CC
monochromatic
#66731F #90A32C #B6CC40 #C8D970 #DBE6A1

Accessibility & contrast

On white

1.79
#B6CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#B6CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6CC40
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6CC40#FFFFFF#000000##000000
##B6CC401.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#C1C1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b6cc40;
/* rgb */ color: rgb(182, 204, 64);
/* oklch */ color: oklch(80.3% 0.162 118.0);
Tailwind
colors: {
  custom: {
    50: '#cfdb7d',
    500: '#b6cc40',
    950: '#000000',
  },
}
SCSS
$custom: #b6cc40;
$custom-light: #cfdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6cc40",
  "rgb": {
    "r": 182,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 69.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80302,
    "c": 0.16236,
    "h": 118
  },
  "luminance": 0.53501
}

Semantic roles & 50–950 ramp

primary
#B6CC40
secondary
#40347C
accent
#47E15F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B6CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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