#B0A528#B0A528

#B0A528 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.138 H 104.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B0A528
RGBrgb(176, 165, 40)
HSLhsl(55, 63%, 42%)
HSVhsv(55, 77%, 69%)
CMYKcmyk(0%, 6.2%, 77.3%, 31%)
CIE-LABlab(66.74, -9.75, 61.26)
CIE-LCHlch(66.74, 62.04, 99.04°)
OKLaboklab(71% -0.0337 0.1337)
OKLCHoklch(71% 0.138 104.1)
XYZxyz(31.7440, 36.2949, 7.3406)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A528 #2833B0
analogous
#B06128 #B0A528 #77B028
triadic
#B0A528 #28B0A5 #A528B0
tetradic
#B0A528 #28B061 #2833B0 #B02877
square
#B0A528 #28B061 #2833B0 #B02877
split-complementary
#B0A528 #2877B0 #6128B0
monochromatic
#4C4811 #7E761D #B0A528 #D4C841 #DFD673

Accessibility & contrast

On white

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

On black

8.26
#B0A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A528
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A528#FFFFFF#000000##000000
##B0A5281.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0a528;
/* rgb */ color: rgb(176, 165, 40);
/* oklch */ color: oklch(71.0% 0.138 104.1);
Tailwind
colors: {
  custom: {
    50: '#cbbf6d',
    500: '#b0a528',
    950: '#000000',
  },
}
SCSS
$custom: #b0a528;
$custom-light: #cbbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a528",
  "rgb": {
    "r": 176,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 55.147,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70998,
    "c": 0.13792,
    "h": 104.1
  },
  "luminance": 0.36294
}

Semantic roles & 50–950 ramp

primary
#B0A528
secondary
#6D75C6
accent
#4FE642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B0A528

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

Preview Lab → · Contrast checker → · Palette generator →

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