#B1A625#B1A625

#B1A625 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.3% C 0.140 H 104.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B1A625
RGBrgb(177, 166, 37)
HSLhsl(55, 65%, 42%)
HSVhsv(55, 79%, 69%)
CMYKcmyk(0%, 6.2%, 79.1%, 30.6%)
CIE-LABlab(67.09, -9.95, 62.56)
CIE-LCHlch(67.09, 63.35, 99.04°)
OKLaboklab(71.29% -0.0345 0.1359)
OKLCHoklch(71.29% 0.14 104.3)
XYZxyz(32.1031, 36.7545, 7.1532)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A625 #2530B1
analogous
#B16025 #B1A625 #76B125
triadic
#B1A625 #25B1A6 #A625B1
tetradic
#B1A625 #25B160 #2530B1 #B12576
square
#B1A625 #25B160 #2530B1 #B12576
split-complementary
#B1A625 #2576B1 #6025B1
monochromatic
#4C4710 #7E771A #B1A625 #D6CA3D #E1D86F

Accessibility & contrast

On white

2.51
#B1A625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B1A625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A625
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A625#FFFFFF#000000##000000
##B1A6251.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B9A630
Tritanopia (blue-blind)
#BF9A8E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a625;
/* rgb */ color: rgb(177, 166, 37);
/* oklch */ color: oklch(71.3% 0.140 104.3);
Tailwind
colors: {
  custom: {
    50: '#ccc06b',
    500: '#b1a625',
    950: '#000000',
  },
}
SCSS
$custom: #b1a625;
$custom-light: #ccc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a625",
  "rgb": {
    "r": 177,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 55.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71291,
    "c": 0.14021,
    "h": 104.3
  },
  "luminance": 0.36753
}

Semantic roles & 50–950 ramp

primary
#B1A625
secondary
#6A71C8
accent
#4DE83F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A625

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

Preview Lab → · Contrast checker → · Palette generator →

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