#B0B928#B0B928

#B0B928 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.4% C 0.157 H 113.3°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#B0B928
RGBrgb(176, 185, 40)
HSLhsl(64, 64%, 44%)
HSVhsv(64, 78%, 73%)
CMYKcmyk(4.9%, 0%, 78.4%, 27.5%)
CIE-LABlab(72.28, -19.99, 66.27)
CIE-LCHlch(72.28, 69.22, 106.78°)
OKLaboklab(75.42% -0.0622 0.1444)
OKLCHoklch(75.42% 0.157 113.3)
XYZxyz(35.6376, 44.0820, 8.6384)
Luminance0.4408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B928 #3128B9
analogous
#B97A28 #B0B928 #68B928
triadic
#B0B928 #28B0B9 #B928B0
tetradic
#B0B928 #28B97A #3128B9 #B92868
square
#B0B928 #28B97A #3128B9 #B92868
split-complementary
#B0B928 #2868B9 #7A28B9
monochromatic
#505412 #80871D #B0B928 #CED747 #DCE279

Accessibility & contrast

On white

2.14
#B0B928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#B0B928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B928
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B928#FFFFFF#000000##000000
##B0B9281.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C7B336
Tritanopia (blue-blind)
#BCAE9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b0b928;
/* rgb */ color: rgb(176, 185, 40);
/* oklch */ color: oklch(75.4% 0.157 113.3);
Tailwind
colors: {
  custom: {
    50: '#cbcd6f',
    500: '#b0b928',
    950: '#000000',
  },
}
SCSS
$custom: #b0b928;
$custom-light: #cbcd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b928",
  "rgb": {
    "r": 176,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 63.724,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75422,
    "c": 0.15725,
    "h": 113.3
  },
  "luminance": 0.44081
}

Semantic roles & 50–950 ramp

primary
#B0B928
secondary
#7873CA
accent
#40E74B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B928

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

Preview Lab → · Contrast checker → · Palette generator →

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