#B6CB40#B6CB40

#B6CB40 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.1% C 0.161 H 117.6°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#B6CB40
RGBrgb(182, 203, 64)
HSLhsl(69, 57%, 52%)
HSVhsv(69, 68%, 80%)
CMYKcmyk(10.3%, 0%, 68.5%, 20.4%)
CIE-LABlab(77.89, -25.16, 63.67)
CIE-LCHlch(77.89, 68.46, 111.56°)
OKLaboklab(80.08% -0.0748 0.1428)
OKLCHoklch(80.08% 0.161 117.6)
XYZxyz(41.5736, 53.0275, 12.8947)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6CB40 #5540CB
analogous
#CB9B40 #B6CB40 #70CB40
triadic
#B6CB40 #40B6CB #CB40B6
tetradic
#B6CB40 #40CB9B #5540CB #CB4070
square
#B6CB40 #40CB9B #5540CB #CB4070
split-complementary
#B6CB40 #4070CB #9B40CB
monochromatic
#65721F #90A22C #B6CB40 #C8D870 #DBE5A0

Accessibility & contrast

On white

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

On black

11.61
#B6CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6CB40
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6CB40#FFFFFF#000000##000000
##B6CB401.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02A
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#C1C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b6cb40;
/* rgb */ color: rgb(182, 203, 64);
/* oklch */ color: oklch(80.1% 0.161 117.6);
Tailwind
colors: {
  custom: {
    50: '#cfda7d',
    500: '#b6cb40',
    950: '#000000',
  },
}
SCSS
$custom: #b6cb40;
$custom-light: #cfda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6cb40",
  "rgb": {
    "r": 182,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 69.065,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80078,
    "c": 0.16121,
    "h": 117.6
  },
  "luminance": 0.53027
}

Semantic roles & 50–950 ramp

primary
#B6CB40
secondary
#3F357B
accent
#47E05E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B6CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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