#B1A324#B1A324

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

Color values

HEX#B1A324
RGBrgb(177, 163, 36)
HSLhsl(54, 66%, 42%)
HSVhsv(54, 80%, 69%)
CMYKcmyk(0%, 7.9%, 79.7%, 30.6%)
CIE-LABlab(66.27, -8.41, 62.13)
CIE-LCHlch(66.27, 62.70, 97.71°)
OKLaboklab(70.63% -0.0303 0.1348)
OKLCHoklch(70.63% 0.138 102.7)
XYZxyz(31.5486, 35.6703, 6.8920)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A324 #2432B1
analogous
#B15D24 #B1A324 #78B124
triadic
#B1A324 #24B1A3 #A324B1
tetradic
#B1A324 #24B15D #2432B1 #B12478
square
#B1A324 #24B15D #2432B1 #B12478
split-complementary
#B1A324 #2478B1 #5D24B1
monochromatic
#4B450F #7E741A #B1A324 #D7C83B #E1D66E

Accessibility & contrast

On white

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

On black

8.13
#B1A324 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A324
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A324#FFFFFF#000000##000000
##B1A3241.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1a324;
/* rgb */ color: rgb(177, 163, 36);
/* oklch */ color: oklch(70.6% 0.138 102.7);
Tailwind
colors: {
  custom: {
    50: '#ccbd6b',
    500: '#b1a324',
    950: '#000000',
  },
}
SCSS
$custom: #b1a324;
$custom-light: #ccbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a324",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 36
  },
  "hsl": {
    "h": 54.043,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70634,
    "c": 0.13815,
    "h": 102.7
  },
  "luminance": 0.35669
}

Semantic roles & 50–950 ramp

primary
#B1A324
secondary
#6972C8
accent
#50E93F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A324

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

Preview Lab → · Contrast checker → · Palette generator →

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