#B6C528#B6C528

#B6C528 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.168 H 115.3°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#B6C528
RGBrgb(182, 197, 40)
HSLhsl(66, 66%, 46%)
HSVhsv(66, 80%, 77%)
CMYKcmyk(7.6%, 0%, 79.7%, 22.7%)
CIE-LABlab(76.09, -23.36, 69.83)
CIE-LCHlch(76.09, 73.64, 108.50°)
OKLaboklab(78.59% -0.0718 0.1518)
OKLCHoklch(78.59% 0.168 115.3)
XYZxyz(39.6418, 50.0315, 9.5758)
Luminance0.5003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C528 #3728C5
analogous
#C58528 #B6C528 #68C528
triadic
#B6C528 #28B6C5 #C528B6
tetradic
#B6C528 #28C585 #3728C5 #C52868
square
#B6C528 #28C585 #3728C5 #C52868
split-complementary
#B6C528 #2868C5 #8528C5
monochromatic
#585F13 #87921E #B6C528 #CEDB4F #DCE682

Accessibility & contrast

On white

1.91
#B6C528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#B6C528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C528
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C528#FFFFFF#000000##000000
##B6C5281.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB00
Deuteranopia (green-blind)
#D2BD38
Tritanopia (blue-blind)
#C2B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b6c528;
/* rgb */ color: rgb(182, 197, 40);
/* oklch */ color: oklch(78.6% 0.168 115.3);
Tailwind
colors: {
  custom: {
    50: '#d0d671',
    500: '#b6c528',
    950: '#000000',
  },
}
SCSS
$custom: #b6c528;
$custom-light: #d0d671;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c528",
  "rgb": {
    "r": 182,
    "g": 197,
    "b": 40
  },
  "hsl": {
    "h": 65.732,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78588,
    "c": 0.16794,
    "h": 115.3
  },
  "luminance": 0.50031
}

Semantic roles & 50–950 ramp

primary
#B6C528
secondary
#2D276A
accent
#3FE94F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B6C528

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

Preview Lab → · Contrast checker → · Palette generator →

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