#B0B528#B0B528

#B0B528 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.5% C 0.153 H 111.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B0B528
RGBrgb(176, 181, 40)
HSLhsl(62, 64%, 43%)
HSVhsv(62, 78%, 71%)
CMYKcmyk(2.8%, 0%, 77.9%, 29%)
CIE-LABlab(71.17, -17.98, 65.27)
CIE-LCHlch(71.17, 67.70, 105.40°)
OKLaboklab(74.53% -0.0566 0.1423)
OKLCHoklch(74.53% 0.153 111.7)
XYZxyz(34.8126, 42.4320, 8.3634)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B528 #2D28B5
analogous
#B57328 #B0B528 #69B528
triadic
#B0B528 #28B0B5 #B528B0
tetradic
#B0B528 #28B573 #2D28B5 #B52869
square
#B0B528 #28B573 #2D28B5 #B52869
split-complementary
#B0B528 #2869B5 #7328B5
monochromatic
#4F5112 #7F831D #B0B528 #D1D644 #DDE177

Accessibility & contrast

On white

2.21
#B0B528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B0B528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B528
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B528#FFFFFF#000000##000000
##B0B5281.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#BCA99B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b0b528;
/* rgb */ color: rgb(176, 181, 40);
/* oklch */ color: oklch(74.5% 0.153 111.7);
Tailwind
colors: {
  custom: {
    50: '#cbca6f',
    500: '#b0b528',
    950: '#000000',
  },
}
SCSS
$custom: #b0b528;
$custom-light: #cbca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b528",
  "rgb": {
    "r": 176,
    "g": 181,
    "b": 40
  },
  "hsl": {
    "h": 62.128,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74529,
    "c": 0.15316,
    "h": 111.7
  },
  "luminance": 0.42431
}

Semantic roles & 50–950 ramp

primary
#B0B528
secondary
#7370C8
accent
#41E747
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B528

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

Preview Lab → · Contrast checker → · Palette generator →

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