#B1A524#B1A524

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

Color values

HEX#B1A524
RGBrgb(177, 165, 36)
HSLhsl(55, 66%, 42%)
HSVhsv(55, 80%, 69%)
CMYKcmyk(0%, 6.8%, 79.7%, 30.6%)
CIE-LABlab(66.81, -9.46, 62.62)
CIE-LCHlch(66.81, 63.33, 98.59°)
OKLaboklab(71.07% -0.0333 0.1358)
OKLCHoklch(71.07% 0.14 103.8)
XYZxyz(31.9065, 36.3861, 7.0113)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A524 #2430B1
analogous
#B15F24 #B1A524 #76B124
triadic
#B1A524 #24B1A5 #A524B1
tetradic
#B1A524 #24B15F #2430B1 #B12476
square
#B1A524 #24B15F #2430B1 #B12476
split-complementary
#B1A524 #2476B1 #5F24B1
monochromatic
#4B460F #7E761A #B1A524 #D7CA3B #E1D86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A524#FFFFFF#000000##000000
##B1A5241.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)
#B59F00
Deuteranopia (green-blind)
#B8A52F
Tritanopia (blue-blind)
#BF998D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a524;
/* rgb */ color: rgb(177, 165, 36);
/* oklch */ color: oklch(71.1% 0.140 103.8);
Tailwind
colors: {
  custom: {
    50: '#ccbf6b',
    500: '#b1a524',
    950: '#000000',
  },
}
SCSS
$custom: #b1a524;
$custom-light: #ccbf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a524",
  "rgb": {
    "r": 177,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 54.894,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71068,
    "c": 0.13983,
    "h": 103.8
  },
  "luminance": 0.36385
}

Semantic roles & 50–950 ramp

primary
#B1A524
secondary
#6971C8
accent
#4DE93F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A524

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

Preview Lab → · Contrast checker → · Palette generator →

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