#B1B328#B1B328

#B1B328 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.2% C 0.151 H 110.4°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#B1B328
RGBrgb(177, 179, 40)
HSLhsl(61, 63%, 43%)
HSVhsv(61, 78%, 70%)
CMYKcmyk(1.1%, 0%, 77.7%, 29.8%)
CIE-LABlab(70.69, -16.54, 64.87)
CIE-LCHlch(70.69, 66.95, 104.30°)
OKLaboklab(74.17% -0.0527 0.1414)
OKLCHoklch(74.17% 0.151 110.4)
XYZxyz(34.6358, 41.7415, 8.2395)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B328 #2A28B3
analogous
#B36F28 #B1B328 #6CB328
triadic
#B1B328 #28B1B3 #B328B1
tetradic
#B1B328 #28B36F #2A28B3 #B3286C
square
#B1B328 #28B36F #2A28B3 #B3286C
split-complementary
#B1B328 #286CB3 #6F28B3
monochromatic
#4E4F12 #80811D #B1B328 #D3D543 #DFE075

Accessibility & contrast

On white

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

On black

9.35
#B1B328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B328
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B328#FFFFFF#000000##000000
##B1B3281.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b328;
/* rgb */ color: rgb(177, 179, 40);
/* oklch */ color: oklch(74.2% 0.151 110.4);
Tailwind
colors: {
  custom: {
    50: '#ccc96e',
    500: '#b1b328',
    950: '#000000',
  },
}
SCSS
$custom: #b1b328;
$custom-light: #ccc96e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b328",
  "rgb": {
    "r": 177,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 60.863,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74168,
    "c": 0.1509,
    "h": 110.4
  },
  "luminance": 0.41741
}

Semantic roles & 50–950 ramp

primary
#B1B328
secondary
#706FC8
accent
#41E644
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B328

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

Preview Lab → · Contrast checker → · Palette generator →

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