#B1A527#B1A527

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

Color values

HEX#B1A527
RGBrgb(177, 165, 39)
HSLhsl(55, 64%, 42%)
HSVhsv(55, 78%, 69%)
CMYKcmyk(0%, 6.8%, 78%, 30.6%)
CIE-LABlab(66.83, -9.35, 61.70)
CIE-LCHlch(66.83, 62.40, 98.62°)
OKLaboklab(71.08% -0.0327 0.1344)
OKLCHoklch(71.08% 0.138 103.7)
XYZxyz(31.9543, 36.4052, 7.2628)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A527 #2733B1
analogous
#B16027 #B1A527 #78B127
triadic
#B1A527 #27B1A5 #A527B1
tetradic
#B1A527 #27B160 #2733B1 #B12778
square
#B1A527 #27B160 #2733B1 #B12778
split-complementary
#B1A527 #2778B1 #6027B1
monochromatic
#4D4811 #7F761C #B1A527 #D5C840 #E0D672

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A527#FFFFFF#000000##000000
##B1A5271.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)
#B49F05
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#BF998D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a527;
/* rgb */ color: rgb(177, 165, 39);
/* oklch */ color: oklch(71.1% 0.138 103.7);
Tailwind
colors: {
  custom: {
    50: '#ccbf6c',
    500: '#b1a527',
    950: '#000000',
  },
}
SCSS
$custom: #b1a527;
$custom-light: #ccbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a527",
  "rgb": {
    "r": 177,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 54.783,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71085,
    "c": 0.13835,
    "h": 103.7
  },
  "luminance": 0.36404
}

Semantic roles & 50–950 ramp

primary
#B1A527
secondary
#6D75C7
accent
#4FE741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A527

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

Preview Lab → · Contrast checker → · Palette generator →

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