#B1A924#B1A924

#B1A924 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.9% C 0.143 H 105.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B1A924
RGBrgb(177, 169, 36)
HSLhsl(57, 66%, 42%)
HSVhsv(57, 80%, 69%)
CMYKcmyk(0%, 4.5%, 79.7%, 30.6%)
CIE-LABlab(67.91, -11.55, 63.59)
CIE-LCHlch(67.91, 64.63, 100.29°)
OKLaboklab(71.94% -0.0391 0.1379)
OKLCHoklch(71.94% 0.143 105.8)
XYZxyz(32.6393, 37.8517, 7.2556)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A924 #242CB1
analogous
#B16324 #B1A924 #73B124
triadic
#B1A924 #24B1A9 #A924B1
tetradic
#B1A924 #24B163 #242CB1 #B12473
square
#B1A924 #24B163 #242CB1 #B12473
split-complementary
#B1A924 #2473B1 #6324B1
monochromatic
#4B480F #7E781A #B1A924 #D7CE3B #E1DB6E

Accessibility & contrast

On white

2.45
#B1A924 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B1A924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A924
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A924#FFFFFF#000000##000000
##B1A9241.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#BBA82F
Tritanopia (blue-blind)
#BF9D91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a924;
/* rgb */ color: rgb(177, 169, 36);
/* oklch */ color: oklch(71.9% 0.143 105.8);
Tailwind
colors: {
  custom: {
    50: '#ccc26b',
    500: '#b1a924',
    950: '#000000',
  },
}
SCSS
$custom: #b1a924;
$custom-light: #ccc26b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a924",
  "rgb": {
    "r": 177,
    "g": 169,
    "b": 36
  },
  "hsl": {
    "h": 56.596,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71942,
    "c": 0.14335,
    "h": 105.8
  },
  "luminance": 0.3785
}

Semantic roles & 50–950 ramp

primary
#B1A924
secondary
#696EC8
accent
#48E93F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A924

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

Preview Lab → · Contrast checker → · Palette generator →

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