#B1B126#B1B126

#B1B126 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.150 H 109.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#B1B126
RGBrgb(177, 177, 38)
HSLhsl(60, 65%, 42%)
HSVhsv(60, 79%, 69%)
CMYKcmyk(0%, 0%, 78.5%, 30.6%)
CIE-LABlab(70.13, -15.60, 64.97)
CIE-LCHlch(70.13, 66.81, 103.50°)
OKLaboklab(73.71% -0.0502 0.1412)
OKLCHoklch(73.71% 0.15 109.6)
XYZxyz(34.2048, 40.9324, 7.9323)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B126 #2626B1
analogous
#B16C26 #B1B126 #6CB126
triadic
#B1B126 #26B1B1 #B126B1
tetradic
#B1B126 #26B16C #2626B1 #B1266C
square
#B1B126 #26B16C #2626B1 #B1266C
split-complementary
#B1B126 #266CB1 #6C26B1
monochromatic
#4C4C10 #7F7F1B #B1B126 #D6D63F #E0E071

Accessibility & contrast

On white

2.29
#B1B126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#B1B126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B126
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B126#FFFFFF#000000##000000
##B1B1261.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C1AD32
Tritanopia (blue-blind)
#BEA598
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1b126;
/* rgb */ color: rgb(177, 177, 38);
/* oklch */ color: oklch(73.7% 0.150 109.6);
Tailwind
colors: {
  custom: {
    50: '#ccc86d',
    500: '#b1b126',
    950: '#000000',
  },
}
SCSS
$custom: #b1b126;
$custom-light: #ccc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b126",
  "rgb": {
    "r": 177,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.73714,
    "c": 0.1499,
    "h": 109.6
  },
  "luminance": 0.40931
}

Semantic roles & 50–950 ramp

primary
#B1B126
secondary
#6B6BC7
accent
#40E840
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B126

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

Preview Lab → · Contrast checker → · Palette generator →

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