#B1B128#B1B128

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

Color values

HEX#B1B128
RGBrgb(177, 177, 40)
HSLhsl(60, 63%, 43%)
HSVhsv(60, 77%, 69%)
CMYKcmyk(0%, 0%, 77.4%, 30.6%)
CIE-LABlab(70.14, -15.52, 64.38)
CIE-LCHlch(70.14, 66.22, 103.56°)
OKLaboklab(73.72% -0.0498 0.1403)
OKLCHoklch(73.72% 0.149 109.6)
XYZxyz(34.2379, 40.9456, 8.1068)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B128 #2828B1
analogous
#B16C28 #B1B128 #6CB128
triadic
#B1B128 #28B1B1 #B128B1
tetradic
#B1B128 #28B16C #2828B1 #B1286C
square
#B1B128 #28B16C #2828B1 #B1286C
split-complementary
#B1B128 #286CB1 #6C28B1
monochromatic
#4D4D11 #7F7F1D #B1B128 #D4D442 #E0E074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B128#FFFFFF#000000##000000
##B1B1281.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)
#C1AD34
Tritanopia (blue-blind)
#BEA598
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1b128;
/* rgb */ color: rgb(177, 177, 40);
/* oklch */ color: oklch(73.7% 0.149 109.6);
Tailwind
colors: {
  custom: {
    50: '#ccc86e',
    500: '#b1b128',
    950: '#000000',
  },
}
SCSS
$custom: #b1b128;
$custom-light: #ccc86e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b128",
  "rgb": {
    "r": 177,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73725,
    "c": 0.14893,
    "h": 109.6
  },
  "luminance": 0.40945
}

Semantic roles & 50–950 ramp

primary
#B1B128
secondary
#6E6EC7
accent
#42E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B128

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

Preview Lab → · Contrast checker → · Palette generator →

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