#B1B120#B1B120

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

Color values

HEX#B1B120
RGBrgb(177, 177, 32)
HSLhsl(60, 69%, 41%)
HSVhsv(60, 82%, 69%)
CMYKcmyk(0%, 0%, 81.9%, 30.6%)
CIE-LABlab(70.10, -15.80, 66.61)
CIE-LCHlch(70.10, 68.45, 103.34°)
OKLaboklab(73.69% -0.0512 0.1437)
OKLCHoklch(73.69% 0.153 109.6)
XYZxyz(34.1157, 40.8967, 7.4630)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B120 #2020B1
analogous
#B16820 #B1B120 #68B120
triadic
#B1B120 #20B1B1 #B120B1
tetradic
#B1B120 #20B168 #2020B1 #B12068
square
#B1B120 #20B168 #2020B1 #B12068
split-complementary
#B1B120 #2068B1 #6820B1
monochromatic
#49490D #7D7D17 #B1B120 #DADA34 #E4E468

Accessibility & contrast

On white

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

On black

9.18
#B1B120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B120
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B120#FFFFFF#000000##000000
##B1B1201.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b120;
/* rgb */ color: rgb(177, 177, 32);
/* oklch */ color: oklch(73.7% 0.153 109.6);
Tailwind
colors: {
  custom: {
    50: '#ccc86b',
    500: '#b1b120',
    950: '#000000',
  },
}
SCSS
$custom: #b1b120;
$custom-light: #ccc86b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b120",
  "rgb": {
    "r": 177,
    "g": 177,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73686,
    "c": 0.15253,
    "h": 109.6
  },
  "luminance": 0.40896
}

Semantic roles & 50–950 ramp

primary
#B1B120
secondary
#6464C9
accent
#3CEC3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B120

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

Preview Lab → · Contrast checker → · Palette generator →

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