#B1B31D#B1B31D

#B1B31D is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.1% C 0.156 H 110.5°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B1B31D
RGBrgb(177, 179, 29)
HSLhsl(61, 72%, 41%)
HSVhsv(61, 84%, 70%)
CMYKcmyk(1.1%, 0%, 83.8%, 29.8%)
CIE-LABlab(70.65, -16.90, 67.81)
CIE-LCHlch(70.65, 69.88, 104.00°)
OKLaboklab(74.12% -0.0545 0.1458)
OKLCHoklch(74.12% 0.156 110.5)
XYZxyz(34.4747, 41.6770, 7.3906)
Luminance0.4168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B31D #1F1DB3
analogous
#B36A1D #B1B31D #66B31D
triadic
#B1B31D #1DB1B3 #B31DB1
tetradic
#B1B31D #1DB36A #1F1DB3 #B31D66
square
#B1B31D #1DB36A #1F1DB3 #B31D66
split-complementary
#B1B31D #1D66B3 #6A1DB3
monochromatic
#494A0C #7D7E14 #B1B31D #DBDD30 #E4E664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b1b31d;
/* rgb */ color: rgb(177, 179, 29);
/* oklch */ color: oklch(74.1% 0.156 110.5);
Tailwind
colors: {
  custom: {
    50: '#ccc96a',
    500: '#b1b31d',
    950: '#000000',
  },
}
SCSS
$custom: #b1b31d;
$custom-light: #ccc96a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b31d",
  "rgb": {
    "r": 177,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 60.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.74118,
    "c": 0.15561,
    "h": 110.5
  },
  "luminance": 0.41676
}

Semantic roles & 50–950 ramp

primary
#B1B31D
secondary
#6261CB
accent
#39EF3B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B31D

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

Preview Lab → · Contrast checker → · Palette generator →

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