#B1A926#B1A926

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

Color values

HEX#B1A926
RGBrgb(177, 169, 38)
HSLhsl(57, 65%, 42%)
HSVhsv(57, 79%, 69%)
CMYKcmyk(0%, 4.5%, 78.5%, 30.6%)
CIE-LABlab(67.92, -11.48, 63.00)
CIE-LCHlch(67.92, 64.03, 100.33°)
OKLaboklab(71.95% -0.0387 0.137)
OKLCHoklch(71.95% 0.142 105.8)
XYZxyz(32.6707, 37.8642, 7.4209)
Luminance0.3786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A926 #262EB1
analogous
#B16426 #B1A926 #73B126
triadic
#B1A926 #26B1A9 #A926B1
tetradic
#B1A926 #26B164 #262EB1 #B12673
square
#B1A926 #26B164 #262EB1 #B12673
split-complementary
#B1A926 #2673B1 #6426B1
monochromatic
#4C4910 #7F791B #B1A926 #D6CD3F #E0DA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A926#FFFFFF#000000##000000
##B1A9261.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)
#BBA831
Tritanopia (blue-blind)
#BF9D91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a926;
/* rgb */ color: rgb(177, 169, 38);
/* oklch */ color: oklch(72.0% 0.142 105.8);
Tailwind
colors: {
  custom: {
    50: '#ccc26c',
    500: '#b1a926',
    950: '#000000',
  },
}
SCSS
$custom: #b1a926;
$custom-light: #ccc26c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a926",
  "rgb": {
    "r": 177,
    "g": 169,
    "b": 38
  },
  "hsl": {
    "h": 56.547,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71952,
    "c": 0.14238,
    "h": 105.8
  },
  "luminance": 0.37863
}

Semantic roles & 50–950 ramp

primary
#B1A926
secondary
#6B71C7
accent
#4AE840
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A926

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

Preview Lab → · Contrast checker → · Palette generator →

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