#B1A325#B1A325

#B1A325 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.6% C 0.138 H 102.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B1A325
RGBrgb(177, 163, 37)
HSLhsl(54, 65%, 42%)
HSVhsv(54, 79%, 69%)
CMYKcmyk(0%, 7.9%, 79.1%, 30.6%)
CIE-LABlab(66.27, -8.37, 61.83)
CIE-LCHlch(66.27, 62.39, 97.71°)
OKLaboklab(70.64% -0.0301 0.1343)
OKLCHoklch(70.64% 0.138 102.6)
XYZxyz(31.5641, 35.6765, 6.9736)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A325 #2533B1
analogous
#B15D25 #B1A325 #79B125
triadic
#B1A325 #25B1A3 #A325B1
tetradic
#B1A325 #25B15D #2533B1 #B12579
square
#B1A325 #25B15D #2533B1 #B12579
split-complementary
#B1A325 #2579B1 #5D25B1
monochromatic
#4C4610 #7E741A #B1A325 #D6C73D #E1D66F

Accessibility & contrast

On white

2.58
#B1A325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B1A325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A325
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A325#FFFFFF#000000##000000
##B1A3251.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B7A42F
Tritanopia (blue-blind)
#BF978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a325;
/* rgb */ color: rgb(177, 163, 37);
/* oklch */ color: oklch(70.6% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#ccbd6b',
    500: '#b1a325',
    950: '#000000',
  },
}
SCSS
$custom: #b1a325;
$custom-light: #ccbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a325",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 54,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70639,
    "c": 0.13766,
    "h": 102.6
  },
  "luminance": 0.35675
}

Semantic roles & 50–950 ramp

primary
#B1A325
secondary
#6A73C8
accent
#50E83F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A325

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

Preview Lab → · Contrast checker → · Palette generator →

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