#B1B320#B1B320

#B1B320 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#B1B320
RGBrgb(177, 179, 32)
HSLhsl(61, 70%, 41%)
HSVhsv(61, 82%, 70%)
CMYKcmyk(1.1%, 0%, 82.1%, 29.8%)
CIE-LABlab(70.66, -16.81, 67.08)
CIE-LCHlch(70.66, 69.16, 104.07°)
OKLaboklab(74.13% -0.054 0.1447)
OKLCHoklch(74.13% 0.154 110.5)
XYZxyz(34.5136, 41.6926, 7.5956)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B320 #2220B3
analogous
#B36C20 #B1B320 #68B320
triadic
#B1B320 #20B1B3 #B320B1
tetradic
#B1B320 #20B36C #2220B3 #B32068
square
#B1B320 #20B36C #2220B3 #B32068
split-complementary
#B1B320 #2068B3 #6C20B3
monochromatic
#4A4B0D #7E7F17 #B1B320 #D9DB35 #E3E469

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B320#FFFFFF#000000##000000
##B1B3201.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)
#C3AF2F
Tritanopia (blue-blind)
#BEA799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1b320;
/* rgb */ color: rgb(177, 179, 32);
/* oklch */ color: oklch(74.1% 0.154 110.5);
Tailwind
colors: {
  custom: {
    50: '#ccc96b',
    500: '#b1b320',
    950: '#000000',
  },
}
SCSS
$custom: #b1b320;
$custom-light: #ccc96b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b320",
  "rgb": {
    "r": 177,
    "g": 179,
    "b": 32
  },
  "hsl": {
    "h": 60.816,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7413,
    "c": 0.15446,
    "h": 110.5
  },
  "luminance": 0.41692
}

Semantic roles & 50–950 ramp

primary
#B1B320
secondary
#6665CA
accent
#3BEC3E
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B320

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

Preview Lab → · Contrast checker → · Palette generator →

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