#B9C528#B9C528

#B9C528 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.8% C 0.167 H 114.2°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#B9C528
RGBrgb(185, 197, 40)
HSLhsl(65, 66%, 46%)
HSVhsv(65, 80%, 77%)
CMYKcmyk(6.1%, 0%, 79.7%, 22.7%)
CIE-LABlab(76.31, -22.10, 70.12)
CIE-LCHlch(76.31, 73.52, 107.49°)
OKLaboklab(78.83% -0.0685 0.1523)
OKLCHoklch(78.83% 0.167 114.2)
XYZxyz(40.3581, 50.4008, 9.6094)
Luminance0.5040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C528 #3428C5
analogous
#C58328 #B9C528 #6BC528
triadic
#B9C528 #28B9C5 #C528B9
tetradic
#B9C528 #28C583 #3428C5 #C5286B
square
#B9C528 #28C583 #3428C5 #C5286B
split-complementary
#B9C528 #286BC5 #8328C5
monochromatic
#595F13 #89921E #B9C528 #D1DB4F #DEE682

Accessibility & contrast

On white

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

On black

11.08
#B9C528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C528
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C528#FFFFFF#000000##000000
##B9C5281.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9c528;
/* rgb */ color: rgb(185, 197, 40);
/* oklch */ color: oklch(78.8% 0.167 114.2);
Tailwind
colors: {
  custom: {
    50: '#d2d671',
    500: '#b9c528',
    950: '#000000',
  },
}
SCSS
$custom: #b9c528;
$custom-light: #d2d671;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c528",
  "rgb": {
    "r": 185,
    "g": 197,
    "b": 40
  },
  "hsl": {
    "h": 64.586,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78826,
    "c": 0.167,
    "h": 114.2
  },
  "luminance": 0.504
}

Semantic roles & 50–950 ramp

primary
#B9C528
secondary
#2C276A
accent
#3FE94C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C528

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

Preview Lab → · Contrast checker → · Palette generator →

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