#B1B322#B1B322

#B1B322 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.1% C 0.154 H 110.5°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B1B322
RGBrgb(177, 179, 34)
HSLhsl(61, 68%, 42%)
HSVhsv(61, 81%, 70%)
CMYKcmyk(1.1%, 0%, 81%, 29.8%)
CIE-LABlab(70.67, -16.75, 66.56)
CIE-LCHlch(70.67, 68.64, 104.13°)
OKLaboklab(74.14% -0.0537 0.1439)
OKLCHoklch(74.14% 0.154 110.5)
XYZxyz(34.5416, 41.7038, 7.7432)
Luminance0.4170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B322 #2422B3
analogous
#B36D22 #B1B322 #68B322
triadic
#B1B322 #22B1B3 #B322B1
tetradic
#B1B322 #22B36D #2422B3 #B32268
square
#B1B322 #22B36D #2422B3 #B32268
split-complementary
#B1B322 #2268B3 #6D22B3
monochromatic
#4B4C0E #7E8018 #B1B322 #D7D939 #E1E36C

Accessibility & contrast

On white

2.25
#B1B322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#B1B322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B322
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B322#FFFFFF#000000##000000
##B1B3221.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C3AF30
Tritanopia (blue-blind)
#BEA799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1b322;
/* rgb */ color: rgb(177, 179, 34);
/* oklch */ color: oklch(74.1% 0.154 110.5);
Tailwind
colors: {
  custom: {
    50: '#ccc96c',
    500: '#b1b322',
    950: '#000000',
  },
}
SCSS
$custom: #b1b322;
$custom-light: #ccc96c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b322",
  "rgb": {
    "r": 177,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 60.828,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.74139,
    "c": 0.15364,
    "h": 110.5
  },
  "luminance": 0.41703
}

Semantic roles & 50–950 ramp

primary
#B1B322
secondary
#6968C9
accent
#3DEB3F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B1B322

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

Preview Lab → · Contrast checker → · Palette generator →

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