#B1A528#B1A528

#B1A528 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.138 H 103.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B1A528
RGBrgb(177, 165, 40)
HSLhsl(55, 63%, 43%)
HSVhsv(55, 77%, 69%)
CMYKcmyk(0%, 6.8%, 77.4%, 30.6%)
CIE-LABlab(66.83, -9.31, 61.38)
CIE-LCHlch(66.83, 62.08, 98.63°)
OKLaboklab(71.09% -0.0325 0.1339)
OKLCHoklch(71.09% 0.138 103.6)
XYZxyz(31.9710, 36.4119, 7.3512)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A528 #2834B1
analogous
#B16128 #B1A528 #78B128
triadic
#B1A528 #28B1A5 #A528B1
tetradic
#B1A528 #28B161 #2834B1 #B12878
square
#B1A528 #28B161 #2834B1 #B12878
split-complementary
#B1A528 #2878B1 #6128B1
monochromatic
#4D4811 #7F761D #B1A528 #D4C742 #E0D674

Accessibility & contrast

On white

2.54
#B1A528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B1A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A528
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A528#FFFFFF#000000##000000
##B1A5281.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#BF998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a528;
/* rgb */ color: rgb(177, 165, 40);
/* oklch */ color: oklch(71.1% 0.138 103.6);
Tailwind
colors: {
  custom: {
    50: '#ccbf6d',
    500: '#b1a528',
    950: '#000000',
  },
}
SCSS
$custom: #b1a528;
$custom-light: #ccbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a528",
  "rgb": {
    "r": 177,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 54.745,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7109,
    "c": 0.13782,
    "h": 103.6
  },
  "luminance": 0.36411
}

Semantic roles & 50–950 ramp

primary
#B1A528
secondary
#6E76C7
accent
#50E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A528

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

Preview Lab → · Contrast checker → · Palette generator →

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