#B1B327#B1B327

#B1B327 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#B1B327
RGBrgb(177, 179, 39)
HSLhsl(61, 64%, 43%)
HSVhsv(61, 78%, 70%)
CMYKcmyk(1.1%, 0%, 78.2%, 29.8%)
CIE-LABlab(70.69, -16.58, 65.17)
CIE-LCHlch(70.69, 67.25, 104.27°)
OKLaboklab(74.16% -0.0529 0.1419)
OKLCHoklch(74.16% 0.151 110.4)
XYZxyz(34.6190, 41.7348, 8.1511)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B327 #2927B3
analogous
#B36F27 #B1B327 #6BB327
triadic
#B1B327 #27B1B3 #B327B1
tetradic
#B1B327 #27B36F #2927B3 #B3276B
square
#B1B327 #27B36F #2927B3 #B3276B
split-complementary
#B1B327 #276BB3 #6F27B3
monochromatic
#4E4E11 #7F811C #B1B327 #D4D641 #DFE174

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B327#FFFFFF#000000##000000
##B1B3271.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: #b1b327;
/* rgb */ color: rgb(177, 179, 39);
/* oklch */ color: oklch(74.2% 0.151 110.4);
Tailwind
colors: {
  custom: {
    50: '#ccc96e',
    500: '#b1b327',
    950: '#000000',
  },
}
SCSS
$custom: #b1b327;
$custom-light: #ccc96e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b327",
  "rgb": {
    "r": 177,
    "g": 179,
    "b": 39
  },
  "hsl": {
    "h": 60.857,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.74163,
    "c": 0.15139,
    "h": 110.4
  },
  "luminance": 0.41734
}

Semantic roles & 50–950 ramp

primary
#B1B327
secondary
#6F6EC8
accent
#41E743
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B327

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

Preview Lab → · Contrast checker → · Palette generator →

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