#B8C528#B8C528

#B8C528 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.7% C 0.167 H 114.6°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#B8C528
RGBrgb(184, 197, 40)
HSLhsl(65, 66%, 46%)
HSVhsv(65, 80%, 77%)
CMYKcmyk(6.6%, 0%, 79.7%, 22.7%)
CIE-LABlab(76.24, -22.52, 70.02)
CIE-LCHlch(76.24, 73.55, 107.83°)
OKLaboklab(78.75% -0.0696 0.1521)
OKLCHoklch(78.75% 0.167 114.6)
XYZxyz(40.1177, 50.2768, 9.5981)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C528 #3528C5
analogous
#C58428 #B8C528 #6AC528
triadic
#B8C528 #28B8C5 #C528B8
tetradic
#B8C528 #28C584 #3528C5 #C5286A
square
#B8C528 #28C584 #3528C5 #C5286A
split-complementary
#B8C528 #286AC5 #8428C5
monochromatic
#595F13 #88921E #B8C528 #D0DB4F #DDE682

Accessibility & contrast

On white

1.90
#B8C528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#B8C528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C528
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C528#FFFFFF#000000##000000
##B8C5281.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BD37
Tritanopia (blue-blind)
#C4B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b8c528;
/* rgb */ color: rgb(184, 197, 40);
/* oklch */ color: oklch(78.7% 0.167 114.6);
Tailwind
colors: {
  custom: {
    50: '#d1d671',
    500: '#b8c528',
    950: '#000000',
  },
}
SCSS
$custom: #b8c528;
$custom-light: #d1d671;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c528",
  "rgb": {
    "r": 184,
    "g": 197,
    "b": 40
  },
  "hsl": {
    "h": 64.968,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78746,
    "c": 0.1673,
    "h": 114.6
  },
  "luminance": 0.50276
}

Semantic roles & 50–950 ramp

primary
#B8C528
secondary
#2D276A
accent
#3FE94D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B8C528

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

Preview Lab → · Contrast checker → · Palette generator →

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