#B6C928#B6C928

#B6C928 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.5% C 0.172 H 116.6°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#B6C928
RGBrgb(182, 201, 40)
HSLhsl(67, 67%, 47%)
HSVhsv(67, 80%, 79%)
CMYKcmyk(9.5%, 0%, 80.1%, 21.2%)
CIE-LABlab(77.20, -25.30, 70.82)
CIE-LCHlch(77.20, 75.20, 109.66°)
OKLaboklab(79.49% -0.0772 0.1539)
OKLCHoklch(79.49% 0.172 116.6)
XYZxyz(40.5622, 51.8721, 9.8826)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C928 #3B28C9
analogous
#C98C28 #B6C928 #65C928
triadic
#B6C928 #28B6C9 #C928B6
tetradic
#B6C928 #28C98C #3B28C9 #C92865
square
#B6C928 #28C98C #3B28C9 #C92865
split-complementary
#B6C928 #2865C9 #8C28C9
monochromatic
#5A6314 #88961E #B6C928 #CCDD52 #DBE785

Accessibility & contrast

On white

1.85
#B6C928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#B6C928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C928
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C928#FFFFFF#000000##000000
##B6C9281.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D6C038
Tritanopia (blue-blind)
#C2BDAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b6c928;
/* rgb */ color: rgb(182, 201, 40);
/* oklch */ color: oklch(79.5% 0.172 116.6);
Tailwind
colors: {
  custom: {
    50: '#d0d971',
    500: '#b6c928',
    950: '#000000',
  },
}
SCSS
$custom: #b6c928;
$custom-light: #d0d971;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c928",
  "rgb": {
    "r": 182,
    "g": 201,
    "b": 40
  },
  "hsl": {
    "h": 67.081,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.79485,
    "c": 0.17218,
    "h": 116.6
  },
  "luminance": 0.51872
}

Semantic roles & 50–950 ramp

primary
#B6C928
secondary
#30286D
accent
#3EEA52
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B6C928

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

Preview Lab → · Contrast checker → · Palette generator →

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