#B1A529#B1A529

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

Color values

HEX#B1A529
RGBrgb(177, 165, 41)
HSLhsl(55, 62%, 43%)
HSVhsv(55, 77%, 69%)
CMYKcmyk(0%, 6.8%, 76.8%, 30.6%)
CIE-LABlab(66.84, -9.27, 61.05)
CIE-LCHlch(66.84, 61.75, 98.63°)
OKLaboklab(71.1% -0.0323 0.1334)
OKLCHoklch(71.1% 0.137 103.6)
XYZxyz(31.9883, 36.4188, 7.4420)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A529 #2935B1
analogous
#B16129 #B1A529 #79B129
triadic
#B1A529 #29B1A5 #A529B1
tetradic
#B1A529 #29B161 #2935B1 #B12979
square
#B1A529 #29B161 #2935B1 #B12979
split-complementary
#B1A529 #2979B1 #6129B1
monochromatic
#4E4812 #7F771D #B1A529 #D4C744 #DFD675

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A529#FFFFFF#000000##000000
##B1A5291.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)
#B49F0C
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#BF998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a529;
/* rgb */ color: rgb(177, 165, 41);
/* oklch */ color: oklch(71.1% 0.137 103.6);
Tailwind
colors: {
  custom: {
    50: '#ccbf6d',
    500: '#b1a529',
    950: '#000000',
  },
}
SCSS
$custom: #b1a529;
$custom-light: #ccbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a529",
  "rgb": {
    "r": 177,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 54.706,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71096,
    "c": 0.13729,
    "h": 103.6
  },
  "luminance": 0.36417
}

Semantic roles & 50–950 ramp

primary
#B1A529
secondary
#6F77C7
accent
#51E542
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A529

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

Preview Lab → · Contrast checker → · Palette generator →

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