#B1A626#B1A626

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

Color values

HEX#B1A626
RGBrgb(177, 166, 38)
HSLhsl(55, 65%, 42%)
HSVhsv(55, 79%, 69%)
CMYKcmyk(0%, 6.2%, 78.5%, 30.6%)
CIE-LABlab(67.10, -9.91, 62.26)
CIE-LCHlch(67.10, 63.04, 99.05°)
OKLaboklab(71.3% -0.0343 0.1354)
OKLCHoklch(71.3% 0.14 104.2)
XYZxyz(32.1190, 36.7608, 7.2370)
Luminance0.3676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A626 #2631B1
analogous
#B16126 #B1A626 #76B126
triadic
#B1A626 #26B1A6 #A626B1
tetradic
#B1A626 #26B161 #2631B1 #B12676
square
#B1A626 #26B161 #2631B1 #B12676
split-complementary
#B1A626 #2676B1 #6126B1
monochromatic
#4C4710 #7F771B #B1A626 #D6CA3F #E0D871

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A626#FFFFFF#000000##000000
##B1A6261.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)
#B5A001
Deuteranopia (green-blind)
#B9A630
Tritanopia (blue-blind)
#BF9A8E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a626;
/* rgb */ color: rgb(177, 166, 38);
/* oklch */ color: oklch(71.3% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#ccc06c',
    500: '#b1a626',
    950: '#000000',
  },
}
SCSS
$custom: #b1a626;
$custom-light: #ccc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a626",
  "rgb": {
    "r": 177,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 55.252,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71297,
    "c": 0.13972,
    "h": 104.2
  },
  "luminance": 0.36759
}

Semantic roles & 50–950 ramp

primary
#B1A626
secondary
#6B73C7
accent
#4DE840
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A626

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

Preview Lab → · Contrast checker → · Palette generator →

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