#B6CA40#B6CA40

#B6CA40 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.160 H 117.3°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#B6CA40
RGBrgb(182, 202, 64)
HSLhsl(69, 57%, 52%)
HSVhsv(69, 68%, 79%)
CMYKcmyk(9.9%, 0%, 68.3%, 20.8%)
CIE-LABlab(77.61, -24.68, 63.38)
CIE-LCHlch(77.61, 68.02, 111.27°)
OKLaboklab(79.85% -0.0734 0.1422)
OKLCHoklch(79.85% 0.16 117.3)
XYZxyz(41.3383, 52.5568, 12.8163)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6CA40 #5440CA
analogous
#CA9940 #B6CA40 #71CA40
triadic
#B6CA40 #40B6CA #CA40B6
tetradic
#B6CA40 #40CA99 #5440CA #CA4071
square
#B6CA40 #40CA99 #5440CA #CA4071
split-complementary
#B6CA40 #4071CA #9940CA
monochromatic
#65701F #90A02C #B6CA40 #C8D770 #DBE5A0

Accessibility & contrast

On white

1.82
#B6CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#B6CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6CA40
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6CA40#FFFFFF#000000##000000
##B6CA401.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D5C14B
Tritanopia (blue-blind)
#C1BFAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b6ca40;
/* rgb */ color: rgb(182, 202, 64);
/* oklch */ color: oklch(79.9% 0.160 117.3);
Tailwind
colors: {
  custom: {
    50: '#cfda7d',
    500: '#b6ca40',
    950: '#000000',
  },
}
SCSS
$custom: #b6ca40;
$custom-light: #cfda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ca40",
  "rgb": {
    "r": 182,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 68.696,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79854,
    "c": 0.16006,
    "h": 117.3
  },
  "luminance": 0.52556
}

Semantic roles & 50–950 ramp

primary
#B6CA40
secondary
#3F357A
accent
#48E05E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B6CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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